🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: __declspec(dllimport) in bpl

#3612
From: Andrue Cope [TeamB]
Date: Mon, 22 May 2006 08:45
24 lines
1828 bytes
Alan Bellingham wrote:

> a) pass pointers from the app to the DLL

A couple of years ago we switched from exporting numerous functions
from the DLL to exporting four dispatcher functions using control
structures much like IOCTL.

Then we grouped the dispatchers into a single controlling structure
that took care of loading/unloading the DLL and made it easy to pass
them around between different libraries rather than have each library
reload the main DLL.

Then we wrote several useful classes based on the structure.

Now we've started using those classes in the DLL by having it populate
the group structure with its own functions. It works well except when
we have to explain to the non-coding management what we intend to do.
They keep asking where the functions actually are :)

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <44717a42$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <447171ab@newsgroups.borland.com> <frt27211skqg9gnbut06ho68n022q9btkm@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a1cb33bc02ad1dec
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: __declspec(dllimport) in bpl
Newsgroups: borland.public.cppbuilder.nativeapi
References: <447171ab@newsgroups.borland.com> <frt27211skqg9gnbut06ho68n022q9btkm@4ax.com>
Date: Mon, 22 May 2006 09:45:54 +0100
User-Agent: XanaNews/1.18.1.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <44717a42$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1148287554 217.207.223.34 (22 May 2006 01:45:54 -0700)
Lines: 24
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail