Article View: borland.public.cppbuilder.nativeapi
Article #10664Counting number of instances of a class imported from a DLL
From: NICs
Date: Wed, 07 Apr 2004 16:10
Date: Wed, 07 Apr 2004 16:10
9 lines
1479 bytes
1479 bytes
Assume that we have a class TMyObject which will be exported from a DLL in Windows or a dynamic object in Linux. [A] How to define a DLL and its equivalent in Linux to export a class ? (Can somone give us a skeleton code) [B] How to create multiple instances of the imported the class from a DLL? (Can somone give us a skeleton code) [C] How to count number of instances of a class imported from a DLL? (Note that DLL (and its equivalent in Linux ) can be used by more than one application in the same time)
Technical Details
Message-ID:
<407427ee$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb250,5239208c54b6ae87,start X-Google-Attributes: gidfb250,public X-Google-Thread: 10cc67,5239208c54b6ae87,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-07 09:23:44 PST From: "NICs" <NICs@NICs> Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.kylix.linuxapi Subject: Counting number of instances of a class imported from a DLL Date: Thu, 8 Apr 2004 02:10:20 +1000 Lines: 11 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.68.31 Message-ID: <407427ee$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1081354222 211.30.68.31 (7 Apr 2004 09:10:22 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail