Article View: borland.public.cppbuilder.deployment
Article #181Does a BCB-DLL allocate memory when it loads?
From: 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
Technical Details
Message-ID:
<1134512974.192688.98190@f14g2000cwb.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f8e54,bcf11e406b4d36fb,start X-Google-Attributes: gidf8e54,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail From: "Matthias Schuppe" <matthias2378@gmx.net> Newsgroups: borland.public.cppbuilder.deployment Subject: Does a BCB-DLL allocate memory when it loads? Date: 13 Dec 2005 14:29:34 -0800 Organization: http://groups.google.com Lines: 23 Message-ID: <1134512974.192688.98190@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: 213.7.219.34 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1134512979 4623 127.0.0.1 (13 Dec 2005 22:29:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 13 Dec 2005 22:29:39 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.2 (like Gecko),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=213.7.219.34; posting-account=vbpoEA0AAAASAAIOV_S98BHLQC06R3Qn