🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

__declspec(dllimport) in bpl

#3610
From: Dmitry Konnov
Date: Mon, 22 May 2006 08:04
16 lines
1378 bytes
Hello,

I have set of methods and VCL classes in main executable of application,
which I have to use inside bpl.

In bpl code I declare methods implemented in main executable like this:

extern "C"  TComponent * __declspec(dllimport) MyExeMethod();

When I compiling bpl,  I get linker error
Unresolved external MyExeMethod() refernced from ....

Please help.

Thank you
Dmitry
Technical Details
Message-ID: <447171ab@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a1cb33bc02ad1dec,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Dmitry Konnov" <dmitry@weblinedesign.biz>
From: "Dmitry Konnov" <dmitry@weblinedesign.biz>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: __declspec(dllimport)  in bpl 
Date: Mon, 22 May 2006 12:04:49 +0400
Lines: 18
Organization: weblinedesign
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 212.58.203.114
Message-ID: <447171ab@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1148285355 212.58.203.114 (22 May 2006 01:09:15 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail