🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Adding new functionality to your BCB\KylixC++ applications without changing its main code.

#12131
From: Plug and Play
Date: Mon, 22 Dec 2003 12:02
33 lines
2830 bytes
The following adr also points to a plugin system components,
http://homepages.borland.com/jkaster/ccds/bcb6/orcka_development/orcka_component_suite/
but the link to www.orcka.com seems to be death. Does anybody have an idea
about Orcka's plugin components?

"Andrue Cope" <not.a.valid@email.address.sorry> wrote in message
news:VA.000020b4.00a35143@email.address.sorry...
> ,
>
> > Is there any sample code showing how to add new functions to your
> > BCB/KylixC++ apllication without changing its main code but adding new
> > plugin modules to application directory ?
> >
>
> lol, I'm doing this right now. AFAIK you have to develop your own plugin
> mechanism/API. If you know how to develop and use DLLs then it's the
> same mechanism except that you code your application to look for
> multiple DLLs to import functions from.
>
> If you've only ever used IMPLIB before now (coward <g>) then it's time
> you looked at LoadLibrary/FreeLibrary and GetProcAddress.
>
> I can't post any examples because what I'm working on is company
> confidential but I'm not giving much away if I say that I have a
> std::vector of structures that contain function pointers that are
> populated using GetProcAddress()
>
> As for finding the DLLs we're using a list in the Registry but you could
> use FindFirst/Next/Close instead.
> -- 
> Andrue Cope
> [Bicester, UK]
>
Technical Details
Message-ID: <3fe6dd6a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fe6cdce@newsgroups.borland.com> <VA.000020b4.00a35143@email.address.sorry>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 106fd3,51f3779f41c7ddd7
X-Google-Attributes: gid106fd3,public
X-Google-Thread: 102541,51f3779f41c7ddd7
X-Google-Attributes: gid102541,public
X-Google-Thread: 10e8a1,51f3779f41c7ddd7
X-Google-Attributes: gid10e8a1,public
X-Google-Thread: 10cc67,51f3779f41c7ddd7
X-Google-Attributes: gid10cc67,public
X-Google-Thread: f7d3d,51f3779f41c7ddd7
X-Google-Attributes: gidf7d3d,public
X-Google-ArrivalTime: 2003-12-22 04:09:26 PST
From: <Plug and Play>
Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.students,borland.public.cppbuilder.thirdpartytools,borland.public.kylix.students,borland.public.kylix.thirdpartytools
References: <3fe6cdce@newsgroups.borland.com> <VA.000020b4.00a35143@email.address.sorry>
Subject: Re: Adding new functionality to your BCB\KylixC++ applications without changing its main code.
Date: Mon, 22 Dec 2003 23:02:38 +1100
Lines: 35
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: 211.30.57.3
Message-ID: <3fe6dd6a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072094570 211.30.57.3 (22 Dec 2003 04:02:50 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail