🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Including a .lib file in a custom component

#17302
From: Vladimir Afanasyev
Date: Fri, 28 Mar 2003 10:50
23 lines
1785 bytes
Hi,

Darren Stone <dastone_spam_@engr.uvic.ca> wrote:

>
>If the IDE is giving you troubles, you can accomplish the same thing by 
>adding...
>
>   #pragma link "gdiplus.lib"
>
>.... to one of your project's source files.  The linker will search 
>through your project's library-path for this file.
>

I had similar problem with using cfgmg32.dll in my 
TPortControl component.
I used various way to accomplish it (#pragma also) but 
without success.
Only way that worked was dynamic loading.
It seems that .lib file was incorrect (I used implib).
But cfgmg32.dll is from DDK so may because.
Vladimir.
Technical Details
Message-ID: <3e842911$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e832d86@newsgroups.borland.com> <3e8344fd$1@newsgroups.borland.com> <3e835663$1@newsgroups.borland.com> <3e835eaa$1@newsgroups.borland.com> <3e838c84$1@newsgroups.borland.com> <3e83e343$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,54f60cea2658724
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-28 03:18:23 PST
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: Including a .lib file in a custom component
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 62.244.14.114 62.244.14.114    
X-Forwarded-For: 192.168.0.147
References: <3e832d86@newsgroups.borland.com> <3e8344fd$1@newsgroups.borland.com> <3e835663$1@newsgroups.borland.com> <3e835eaa$1@newsgroups.borland.com> <3e838c84$1@newsgroups.borland.com> <3e83e343$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3e842911$1@newsgroups.borland.com>
Date: 28 Mar 2003 02:50:57 -0800
X-Trace: newsgroups.borland.com 1048848657 207.105.83.65 (28 Mar 2003 02:50:57 -0800)
Lines: 23
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail