Page 1 of 1

CAn not create DLL with TAnnotationTool

Posted: Fri Mar 02, 2007 6:41 pm
by 9339885
HI,

I have a program I was trying to convert to DLL. The program includes TChart and TAnnotationTool. I had the program converted and using a driver program to load the DLL, but when I tried to run it, it crashes every time. When I remove the TAnnotationTool, the program runs OK. I'm a bit surprised, because I have ATChart in the DLL ahd it had no problem finding and loading it. What am I missing in this TAnnotation?

Thanks

-Bill

Posted: Mon Mar 05, 2007 8:55 am
by narcis
Hi Bill,

Are you including TAnnotationTool unit in the uses section?

Posted: Mon Mar 05, 2007 3:29 pm
by 9339885
Hi,

I should be clear that I'm using BCB 6. The .exe version works find. However, the DLL version will not start. The TChart is included in my project and it had no problem being loaded.
What I have is "#include TeeTool.hpp". What else do I need to be included in the project?

-Bill

Posted: Mon Mar 12, 2007 9:37 am
by Pep
Hi Bill,

which error are you getting ?

Posted: Fri Mar 16, 2007 2:07 am
by 9339885
When I run my driver program, I get the windows msg

The application failed to initialize properly (0xc000005). Apperanetly window can not find a DLL or a package. When I remove TAnnatationTool from my application, the error goes a way.

-Bill

Posted: Mon Mar 19, 2007 11:50 am
by Pep
Hi Bill,

we're going to need an example with which we can reproduce as is the problem here. Would you be so kind to send me it directly to pep@steema.com ?