Article View: borland.public.cppbuilder.nativeapi
Article #17295Re: Including a .lib file in a custom component
From: Darren Stone
Date: Fri, 28 Mar 2003 05:53
Date: Fri, 28 Mar 2003 05:53
24 lines
2023 bytes
2023 bytes
Rusty wrote: > *I made dclusr.bpr the active project > *Then I went to Project->Add to Project > *On the Add Unit tab, I clicked on the Browse button. > *In the dialog, I specified *.lib as my filter, located the lib file I > wanted to include and hit OK > *Then, I clicked on OK in the Add Dialog > *Then I get the error message > > Even though I get the error message, it still seems to add it correctly. My > project was able to link to the stuff it could not find before. Should I > even worry about it? 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. Regards, -- darren
Technical Details
Message-ID:
<3e83e343$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e832d86@newsgroups.borland.com> <3e8344fd$1@newsgroups.borland.com> <3e835663$1@newsgroups.borland.com> <3e835eaa$1@newsgroups.borland.com> <3e838c84$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-27 21:56:34 PST Date: Thu, 27 Mar 2003 21:53:19 -0800 From: Darren Stone <dastone_spam_@engr.uvic.ca> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030326 X-Accept-Language: en-ca, en, en-us MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Including a .lib file in a custom component 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> In-Reply-To: <3e838c84$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.77.33.242 Message-ID: <3e83e343$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1048830787 24.77.33.242 (27 Mar 2003 21:53:07 -0800) Lines: 25 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail