Thread View: borland.public.cppbuilder.deployment
1 messages
1 total messages
Started by Matthias Schuppe
Tue, 13 Dec 2005 22:29
Does a BCB-DLL allocate memory when it loads?
Author: Matthias Schuppe
Date: Tue, 13 Dec 2005 22:29
Date: Tue, 13 Dec 2005 22:29
22 lines
1966 bytes
1966 bytes
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. Is ist possible to tell C++ Builder to allocate memory at another adress? Do you have an idea to solve this problem? Thank you very much for yur help! Matthias Schuppe
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads