Article View: borland.public.cppbuilder.nativeapi
Article #10338Re: TVINSERTSTRUCT Undefined symbol 'item'
From: Bob Gonder
Date: Thu, 15 Apr 2004 15:01
Date: Thu, 15 Apr 2004 15:01
23 lines
1661 bytes
1661 bytes
Michael wrote:
Do what Remy and Ed have suggested, then you could also always do this
too...
> newTreeItemStruct.item = newTreeItem;
newTreeItemStruct.DUMMYUNIONNAME.item = newTreeItem;
Your last option is to change to C++ as C doesn't allow anon. unions.
>typedef struct tagTVINSERTSTRUCTA {
> HTREEITEM hParent;
> HTREEITEM hInsertAfter;
>#if (_WIN32_IE >= 0x0400)
> union {
> TVITEMEXA itemex;
> TV_ITEMA item;
> } DUMMYUNIONNAME;
>#else
> TV_ITEMA item;
>#endif
>} TVINSERTSTRUCTA, FAR *LPTVINSERTSTRUCTA;
Technical Details
Message-ID:
<c98t70lmemf1qetefbmsp8l3viuuao0m8p@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<407e3878$1@newsgroups.borland.com> <407e4948$3@newsgroups.borland.com> <407e5090@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,4dc96a77ba775a75 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-15 08:10:49 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: TVINSERTSTRUCT Undefined symbol 'item' Date: Thu, 15 Apr 2004 08:01:28 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <c98t70lmemf1qetefbmsp8l3viuuao0m8p@4ax.com> References: <407e3878$1@newsgroups.borland.com> <407e4948$3@newsgroups.borland.com> <407e5090@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 4.228.222.75 X-Trace: newsgroups.borland.com 1082041288 4.228.222.75 (15 Apr 2004 08:01:28 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail