Access Violation when using AC Lite and Save Dialogs

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #34331
    Magnus Deininger
    Participant

    Hello all,

    I've hit a couple of snags using AC Lite 2010 (Versions 7.02 and 7.26). When we try to use the default (i.e. Delphi) Save Dialogs (or Save Picture Dialogs), whenever anyone tries to use the file type dropdowns the programme will throw an Access Violation Exception after using the dialog's save button. The exception occurs before the Dialog's Execute() function returns.

    Disabling the Themes for Dialogs (in the Skin Manager) fixes this. The problem does not seem to occur with the default Load Dialogs. We're using Delphi 2006.

    Is this a known issue and/or specific to the Lite version?

    Best wishes,

    Magnus

    #44751
    Support
    Keymaster

    Hello

    Can you try latest version of AlphaControls LE, please?

    #44757
    Magnus Deininger
    Participant

    HI there,

    sure thing, I see there were some updates since last I tried… it's nice to see a group of developers with regular updates :).

    I'll post back as soon as I've tried this.

    #44765
    Magnus Deininger
    Participant

    Okay, I can confirm that the Bug still occurs with version 7.30. Also, I was wrong, it does also occur when using the load (picture) dialogs, not just the save (picture) dialogs.

    #44767
    Support
    Keymaster

    Ok, can you send me an example app with Exe, please?

    Maybe you can receive a callstack for this error?

    #44777
    Magnus Deininger
    Participant
    'Support' wrote:

    Ok, can you send me an example app with Exe, please?

    Maybe you can receive a callstack for this error?

    Sure, I should be able to cook something up. I might not be able to finish it today though, so I'll probably add it next week.

    Thanks in advance,

    Magnus

    #45024
    Magnus Deininger
    Participant

    Sorry, took me a bit longer than I expected, I was busy with other projects.

    I've attached a .zip file with a programme that is causing the problems; It's fairly straightforward. As you can see in the Project file, I've tried updating to 7.32 before posting this, but it's still not working. It looks like it's probably some minor glitch somewhere, hope you can fix it. The programme includes the linked binary, which in turn includes a short description of how to reproduce the error. Note that it doesnt matter how the dialog is closed, as soon as the file type dropdown list was accessed, it crashes.

    To recap, I was using AC Lite (various Versions, including 7.30 and 7.32) and Delphi 2006 (10.0.2558.35231 Update 2, Hotfixed) on Windows XP Home (SP3, German Locale and Release).

    Hope this helps in reproducing the problem…

    Cheers,

    Magnus

    #45050
    Support
    Keymaster

    Thank you very much.

    I have tried your Exe and I really see a problem. You have sent Exe compiled with 7.02 version. Could you compile it with 7.32 please, and upload it too?

    #45064
    Magnus Deininger
    Participant

    Great, hope we can find a solution then :).

    Here's the weird thing, I did update to 7.32 according to the installation notes, and in the IDE, the sSkinManager object says “Version: 7.32” in its properties. If it was using 7.02, then something must have gone wrong with the update, but I'm not sure what. The only thing I can see hinting to 7.02 is the “SkinInfo = '7.2'” hinting towards 7.02; is that how I find out which version it used? If not, how can I mak sure which version it was using so that I dont't keep posting the wrong code :)?

    — Cheers

    #45144
    Support
    Keymaster

    Hello

    Some files from previous installation were not removed seems. You should find and kill them.

    You will see a version of components which used in application if your program started with /acver key. 🙂

    #45154
    Magnus Deininger
    Participant
    'Support' wrote:

    Hello

    Some files from previous installation were not removed seems. You should find and kill them.

    You will see a version of components which used in application if your program started with /acver key. 🙂

    Hi there,

    Hah, that did the trick. I had a stray library path set in delphi pointing to the old version of the component. It sure is kind of confusing because the component's TsSkinManager will happily list 7.32 as its version while really the linker is using code from 7.02. That'll teach me to check thoe project options in more detail (I'm actually a Unix dev so in my defence I'm not all that used to working with these pesky “projects” :D). Anyway, this worked and the bug is gone, so you guys already fixed the problem in one of the updates. Good job and thanks for the help! 😉

    — Cheers

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