Article View: borland.public.cppbuilder.nativeapi
Article #17033odd question...how to know variable name
From: Brian Dumas
Date: Thu, 10 Apr 2003 20:48
Date: Thu, 10 Apr 2003 20:48
12 lines
1411 bytes
1411 bytes
Is this possible (I think not, but heck, I'll ask anyway) lets say I have a class TMyClass. When a user has a variable of TMyClass, can my class know the variables name. For example TMyClass AAA; Is there a way for my constructor, or any class function to "know" that the instance name is "AAA"? I want o use it for named shared memory. thanks, Brian
Technical Details
Message-ID:
<3e95d8a6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!out.nntp.be!propagator2-sterling!in.nntp.be!news-in.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,289eae8b8f86e355,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-10 14:07:52 PST Reply-To: "Brian Dumas" <brian@kvdco.com> From: "Brian Dumas" <brian@kvdco.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: odd question...how to know variable name Date: Thu, 10 Apr 2003 14:48:40 -0600 Lines: 14 Organization: KVD X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 68.64.20.130 Message-ID: <3e95d8a6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1050007718 68.64.20.130 (10 Apr 2003 13:48:38 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!out.nntp.be!propagator2-sterling!in.nntp.be!news-in.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail