CAn not create DLL with TAnnotationTool

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
BE
Newbie
Newbie
Posts: 41
Joined: Tue Nov 16, 2004 5:00 am

CAn not create DLL with TAnnotationTool

Post by BE » Fri Mar 02, 2007 6:41 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Mar 05, 2007 8:55 am

Hi Bill,

Are you including TAnnotationTool unit in the uses section?
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

BE
Newbie
Newbie
Posts: 41
Joined: Tue Nov 16, 2004 5:00 am

Post by BE » Mon Mar 05, 2007 3:29 pm

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

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Mar 12, 2007 9:37 am

Hi Bill,

which error are you getting ?

BE
Newbie
Newbie
Posts: 41
Joined: Tue Nov 16, 2004 5:00 am

Post by BE » Fri Mar 16, 2007 2:07 am

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

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Mar 19, 2007 11:50 am

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 ?

Post Reply