- This topic has 7 replies, 2 voices, and was last updated 8 years, 5 months ago by Support.
-
AuthorPosts
-
May 30, 2016 at 1:16 pm #36986Gino DParticipant
After upgrading from version 10.17 to version 10.29 we encountered a strange problem when a DLL has the unit sComboBox in its 'uses' section and is compiled with Delphi XE6.
If you implement this DLL in a program compiled with Delphi 7 then that program won't start automatically from the windows 'Startup' directory after booting.
The program seems to be running in task manager but does not use a lot of memory and does not run any code (not even Application.Initialize). It still runs perfect when you start it manually. We've only been able to recreate this problem in Windows 7 Embedded (Service Pack 1).
We've changed back to the previous version as a temporary fix so this is not an urgent problem for us.
Test applications: [attachment=7720:TestApplications.zip]
Gino
May 30, 2016 at 2:25 pm #55068SupportKeymasterCan I look it on your PC somehow?
June 3, 2016 at 9:02 am #55109Gino DParticipantI'm afraid that will be impossible, that system is not connected to any network (it's part of an automated pressbrake system).
However, we can run test applications and take screenshots for you?
June 3, 2016 at 4:15 pm #55113SupportKeymaster'Gino wrote:However, we can run test applications and take screenshots for you?Maybe you can cut some code from your application and make a test-app based on your application?
June 7, 2016 at 1:59 pm #55128Gino DParticipantI added a dll and an exe in my first post, you need both to recreate the problem. The Exe was built with Delphi 7 and the dll with Delphi XE6, so i suspect it's related to the difference in how the string types are handled in each version, but i'm not sure.
June 9, 2016 at 9:07 am #55138SupportKeymasterSize of your compiled Dll is smaller than 400Kb Why?
This file was compiled with sComboBox? Are you sure?
June 9, 2016 at 10:06 am #55143Gino DParticipantThat is very strange, didn't notice that… I've just reinstalled version 10.29, did a rebuild and strangely enough the problem seems to be gone now. The compiled DLL is bigger now too. Perhaps something went wrong during the installation of the alphacontrols the first time or it was some kind of compiler error, maybe a corrupt .dcu? I did create multiple test applications that day so I am certain that the DLL in the attachment was compiled with the sCombobox unit. If the problem occurs again i'll try to get you some more information.
June 9, 2016 at 10:17 am #55146SupportKeymasterYes, Dll should have much bigger size. After recompiling of both projects under Delphi 7 and Delphi XE6 threre is no problem anymore…
-
AuthorPosts
- You must be logged in to reply to this topic.