BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Does a BCB-DLL allocate memory when it loads?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder
View previous topic :: View next topic  
Author Message
Matthias Schuppe
Guest





PostPosted: Sun Dec 11, 2005 4:02 pm    Post subject: Does a BCB-DLL allocate memory when it loads? Reply with quote



I wrote a DLL in BCB 6 Enterprise which uses the VCL (e.g. ADO, Indy,
etc.). This DLL should be included into a special industrial testing
software. When I do so, in the testing software an exception occurs
(floating divide by zero).

I tried to deactivate all function calls of my DLL, only "LoadLibrary"
is executed. The error is already there. The manufacturer of the
testing software says that my DLL allocates memory when it loads. A
part of memory which is used by the testing software seems to be
overwritten by loading my DLL.

I tried to change the image base adress in project options from
0x00400000 to 0x40000000 or 0x60000000, but it did't take an effect.

Do you have an idea to solve this problem?

Thank you very much for yur help!

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.