BdLm
asked on
dll add a unit
I'm still working on a dll with delphi. I try just to add a unit to that dll and get an application excetion, see the madshi screen dumps for details.
This unit contains a class TPointList = Class (TList) with several functions, this unit is already used by 3 other programs without any strange behaviour or known bug.
I could add another unit with a simillar list like TPointList without any problem to my dll project.
do not expect a complete solution for the answer to this post, any good idea on debugging and finding the reason is welcome.
ee-dll-1.jpg
ee-dll-2.jpg
This unit contains a class TPointList = Class (TList) with several functions, this unit is already used by 3 other programs without any strange behaviour or known bug.
I could add another unit with a simillar list like TPointList without any problem to my dll project.
do not expect a complete solution for the answer to this post, any good idea on debugging and finding the reason is welcome.
ee-dll-1.jpg
ee-dll-2.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
the reason: I used a few units which included QDialog, QGraphics and a few other which used dialog, graphics, ...
now I deleted all the q-Units from Borland and used the default version, the dll is now running a bit more :-)
I did not understand why applications did not claim or create run time errors the dll is failing to compile ....
now I deleted all the q-Units from Borland and used the default version, the dll is now running a bit more :-)
I did not understand why applications did not claim or create run time errors the dll is failing to compile ....
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks for the offer, compile is now no problem, but I have to eval the other APPS IF SOMETHING HAPPEND while changing so many include files , this will be a time break on this question
ASKER
Hi,
after removing QForms by Forms, can compile and run that DLL project.
What to to with your points ?
Can someone explain why QForms and Forms do not beat each other inside a APP but a fatal if used inside a DLL ? That makes sense to accept as the answer ... OK for you both?
Best
B.
after removing QForms by Forms, can compile and run that DLL project.
What to to with your points ?
Can someone explain why QForms and Forms do not beat each other inside a APP but a fatal if used inside a DLL ? That makes sense to accept as the answer ... OK for you both?
Best
B.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
the solutution was QForms and Forms interaction, anyhow the tips posted are helpful ,
not sure if only a Delphi 7 issue or also other versions are affected
Thanks,
not sure if only a Delphi 7 issue or also other versions are affected
Thanks,
ASKER