Article View: borland.public.cppbuilder.nativeapi
Article #1920Re: LoadLibrary and dependent packages
From: Dmitry
Date: Thu, 07 Jun 2007 06:05
Date: Thu, 07 Jun 2007 06:05
20 lines
1716 bytes
1716 bytes
Remy, > BPL packages must be loaded using LoadPackage(), not LoadLibrary(). this solution seems not trivial for my situation since i use bpl packages as dll libraries. there are many other problems arise when i change my code to LoadPackage. For example i staring to get exeptions about double units since i change LoadLibrary to LoadPackage. Packages being loaded by LoadLibrary, normaly can use each other classes defined with PACKAGE macro. perhaps i just have to obviously load all bpl that my application uses by LoadLibrary at application start, since LoadPackage does dependency check and loads packages also. In my design bpl plugins located in different than application directory. tx. Dmitry
Technical Details
Message-ID:
<46679fe4@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newsfeed.gamma.ru!Gamma.RU!colt.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4666dbbb$1@newsgroups.borland.com> <4666e9e1$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c0473ff6199f2d90 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Dmitry" <dmitry@pikalevo.com> From: "Dmitry" <dmitry@pikalevo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4666dbbb$1@newsgroups.borland.com> <4666e9e1$1@newsgroups.borland.com> Subject: Re: LoadLibrary and dependent packages Date: Thu, 7 Jun 2007 10:05:26 +0400 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 89.20.24.156 Message-ID: <46679fe4@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1181196260 89.20.24.156 (6 Jun 2007 23:04:20 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newsfeed.gamma.ru!Gamma.RU!colt.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail