🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15813

LoadLibrary Problem

#15813
From: Loz
Date: Fri, 13 Jun 2003 13:54
20 lines
1403 bytes
Hi,

I need a bit of help...  I'm using LoadLibrary to load a DLL dynamically.  
All is well and I can load my functions without a problem as long as 
CodeGuard is not enabled in the DLL.

If I compile the DLL with CodeGuard enabled, my calling App crashes when it 
closes.  Is this because I shouldn't be compiling the DLL with CodeGuard?  
Is it a known problem?

If I statically link, there's no problem if CodeGuard's enabled for the 
DLL.

In other words, everything is fine as long as the DLL is compiled without 
CodeGuard... but I'd prefer to use it whilst doing the development...  I'm 
using BCB 6 on Windows 2000 Pro.

Thanks for any help,

Loz
Technical Details
Message-ID: <Xns9399978DA4B8DLoz@207.105.83.65>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,25f149f74461a87f,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-13 06:57:39 PST
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: LoadLibrary Problem
From: Loz <noemail@nowhere.com>
Message-ID: <Xns9399978DA4B8DLoz@207.105.83.65>
User-Agent: Xnews/5.04.25
NNTP-Posting-Host: 217.37.62.138
Date: 13 Jun 2003 06:54:10 -0700
X-Trace: newsgroups.borland.com 1055512450 217.37.62.138 (13 Jun 2003 06:54:10 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail