Article View: borland.public.cppbuilder.nativeapi
Article #12129Re: Adding new functionality to your BCB\KylixC++ applications without changing its main code.
From: Plug and Play
Date: Mon, 22 Dec 2003 11:58
Date: Mon, 22 Dec 2003 11:58
26 lines
2461 bytes
2461 bytes
Andrue, Thx for your reply. Do you also consider using your plugin mechanism in KylixC++ as well? If so, what do you use in the KylixC++ version instead of DLLs ? "Andrue Cope" <not.a.valid@email.address.sorry> wrote in message news:VA.000020b4.00a35143@email.address.sorry... > 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. > --
Technical Details
Message-ID:
<3fe6dc8e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<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: 10cc67,51f3779f41c7ddd7 X-Google-Attributes: gid10cc67,public X-Google-Thread: 102541,51f3779f41c7ddd7 X-Google-Attributes: gid102541,public X-Google-Thread: f7d3d,51f3779f41c7ddd7 X-Google-Attributes: gidf7d3d,public X-Google-Thread: 10e8a1,51f3779f41c7ddd7 X-Google-Attributes: gid10e8a1,public X-Google-ArrivalTime: 2003-12-22 04:09:25 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 22:58:56 +1100 Lines: 28 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: <3fe6dc8e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1072094350 211.30.57.3 (22 Dec 2003 03:59:10 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail