Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

#pragma link

8 views
Skip to first unread message

Digby Millikan

unread,
Nov 23, 2007, 7:52:53 AM11/23/07
to
Hello,

I have a statement in a C++Builder .cpp file;

#pragma link "AdvListV"

What file does this link to a .bpi file, .obj file?

e.g. AdvListV.obj or AdvListV.bpi?


vavan

unread,
Nov 23, 2007, 9:19:07 AM11/23/07
to
On Fri, 23 Nov 2007 23:22:53 +1030, "Digby Millikan"
<dig...@internode.on.net> wrote:

>What file does this link to a .bpi file, .obj file?

according to help "by default linker assumes a .obj extension"

--
Vladimir Ulchenko aka vavan

David Dean [CodeGear]

unread,
Nov 23, 2007, 2:20:13 PM11/23/07
to
In article <k9odk3hacir1lb5q9...@4ax.com>,
vavan <Vavan...@ThisSantel.ru> wrote:

> according to help "by default linker assumes a .obj extension"

It should also find .lib files. I don't think it will try to link
.bpi files.
--
David Dean (CodeGear)
Lead C++ QA Engineer

vavan

unread,
Nov 26, 2007, 1:57:45 AM11/26/07
to
On Fri, 23 Nov 2007 11:20:13 -0800, "David Dean [CodeGear]"
<david....@spam.codegear.com> wrote:

> It should also find .lib files. I don't think it will try to link
>.bpi files.

tbh I don't know since I don't use #pragma link
I prefer #pragma comment which forces to link either .lib or .bpi
files according to conditional define in my projects

0 new messages