- This topic has 10 replies, 2 voices, and was last updated 13 years, 8 months ago by Magnus Deininger.
-
AuthorPosts
-
February 2, 2011 at 1:54 pm #34331Magnus DeiningerParticipant
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
February 3, 2011 at 1:07 pm #44751SupportKeymasterHello
Can you try latest version of AlphaControls LE, please?
February 3, 2011 at 2:19 pm #44757Magnus DeiningerParticipantHI 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.
February 3, 2011 at 6:11 pm #44765Magnus DeiningerParticipantOkay, 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.
February 3, 2011 at 6:32 pm #44767SupportKeymasterOk, can you send me an example app with Exe, please?
Maybe you can receive a callstack for this error?
February 4, 2011 at 1:21 pm #44777Magnus DeiningerParticipant'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
February 28, 2011 at 2:27 pm #45024Magnus DeiningerParticipantSorry, 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
March 3, 2011 at 3:19 pm #45050SupportKeymasterThank 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?
March 4, 2011 at 10:32 am #45064Magnus DeiningerParticipantGreat, 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
March 12, 2011 at 8:33 am #45144SupportKeymasterHello
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. 🙂
March 14, 2011 at 12:46 pm #45154Magnus DeiningerParticipant'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
-
AuthorPosts
- You must be logged in to reply to this topic.