🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

I have a question concerning Borland linker

#14415
From: Boguslaw Fries
Date: Wed, 13 Aug 2003 08:57
21 lines
1516 bytes
Hello,

I have a quuestion conerning Borland linker. I dont know, which group is
appropriate for such  a question:

I have my own .DLL. as result of a project. In this project I have many
*.cpp files.
I want to declare ONLY one exemplar of
vector<char *> mylist
and
void myfuction( void ) which use mylist
( both I want to declare in ONE *.cpp file )

And ANY *.cpp must have access to this function and mylist.

I suppose I have to use properly a combination of  EXPORT and extern
but I have no idea how

Any suggestions?

Boguslaw Fries
Technical Details
Message-ID: <3f39fd88$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,fa4e255545b94d28,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-13 02:10:04 PST
From: "Boguslaw Fries" <B.Fries@luca-online.de>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: I have a question concerning Borland  linker
Date: Wed, 13 Aug 2003 10:57:40 +0200
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.88.140.193
Message-ID: <3f39fd88$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060765064 217.88.140.193 (13 Aug 2003 01:57:44 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail