[Solved] Panel.BringToFront causes EAccessViolation

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #36393
    ozok
    Participant

    Hi,

    I've just purchased the 9 version and using 9.18 in my Delphi xe7 project. On my project I make TsPanel visible at some point. It used to work with version 8.53 but ever since updating to 9.18 it fails and causes an access violation. I can reproduce that problem in two of my projects that do the same thing. Disabling the skin solves the problem. I'm attaching MadExcept bugreport.txt.

    The code that causes the trouble:

    Code:
    procedure TMainForm.SwitchToEncoding;
    var
    i: integer;
    begin
    ConvertingPanel.Visible := True;
    ConvertingPanel.BringToFront; // this is the line where it throws the exception
    NormalPanel.Visible := False;
    NormalPanel.SendToBack;
    for I := 0 to MainMenu1.Items.Count – 1 do
    begin
    MainMenu1.Items.Enabled := False;
    end;
    end;

    Source code is here if you are interested: https://github.com/ozok/TEncoder

    #52923
    Support
    Keymaster

    Hi

    Thank you for sources. I can compile your application, but can't run it, because many other Exe files required (like mp4box.exe, ffmpeg.exe and others).

    Can I find it in single package somewhere?

    #52926
    ozok
    Participant

    Hi,

    You can download a package here http://www21.zippyshare.com/v/95163967/file.html

    #52930
    Support
    Keymaster

    Thank you. After program start I'm receiving this fatal error: “Cannot load MediaInfo.dll!”

    Maybe you know why it happens? File exists there.

    #52935
    ozok
    Participant
    'Support' wrote:

    Thank you. After program start I'm receiving this fatal error: “Cannot load MediaInfo.dll!”

    Maybe you know why it happens? File exists there.

    Program works here. Perhaps you got a corrupted download? BTW skins are disabled as defaults, you must enable them under settings>skin.

    #52939
    ozok
    Participant

    Any updates on this matter? I want to release a new version before the new year.

    #52941
    Support
    Keymaster

    Hello

    MediaInfo.dll can't be loaded still, but I have commented this code and can run your application now, maybe it will work.

    What I should to do in application for getting of this problem?

    #52942
    ozok
    Participant
    'Support' wrote:

    Hello

    MediaInfo.dll can't be loaded still, but I have commented this code and can run your application now, maybe it will work.

    What I should to do in application for getting of this problem?

    You should add a video file to the list and click to encode button. It'll crash at that point.

    #52943
    Support
    Keymaster

    Thank you, try this file, please

    #52953
    ozok
    Participant

    I have the compiled version. Can I use it?

    #52954
    Support
    Keymaster

    No. Write me to support@alphaskins.com, I will send you the compiled package.

    What version of your Delphi?

    #52958
    ozok
    Participant
    'Support' wrote:

    No. Write me to support@alphaskins.com, I will send you the compiled package.

    What version of your Delphi?

    Thanks for the mail, it solved the problem with 32bit version but I'll need 64bit too.

    #52967
    ozok
    Participant

    64bit version of the said packagewas sent and solved the problem. Thanks.

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.