Article View: borland.public.cppbuilder.nativeapi
Article #3395Re: Bizzaar problem when calling EnumWindows API function.
From: Remy Lebeau (TeamB)
Date: Mon, 19 Jun 2006 02:35
Date: Mon, 19 Jun 2006 02:35
16 lines
1612 bytes
1612 bytes
"Ed Mulroy" <dont_email_me@bitbuc.ket> wrote in message
news:4495ef49$1@newsgroups.borland.com...
> FYI: VCL apps seem to have NO_STRICT defined (although a
> search of the header files doesn't seem to find it). That is why I
> suggested that he define STRICT himself and do it before the
> #include list.
Or just suck in his pride and use the WNDENUMPROC typedef in a cast. Then
it won't matter whether STRICT is defined or not, ie:
EnumWindows((WNDENUMPROC)EnumProc, 0);
Gambit
Technical Details
Message-ID:
<44960dc2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44954617$1@newsgroups.borland.com> <449552e8$1@newsgroups.borland.com> <44956252$1@newsgroups.borland.com> <15bb92101vefo3nokueudlrfa0qq6o84vk@4ax.com> <rrcb92dsi5pgljuqp8v69732s6v0t56apm@4ax.com> <4495ef49$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4e294185b67adeb4 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <44954617$1@newsgroups.borland.com> <449552e8$1@newsgroups.borland.com> <44956252$1@newsgroups.borland.com> <15bb92101vefo3nokueudlrfa0qq6o84vk@4ax.com> <rrcb92dsi5pgljuqp8v69732s6v0t56apm@4ax.com> <4495ef49$1@newsgroups.borland.com> Subject: Re: Bizzaar problem when calling EnumWindows API function. Date: Sun, 18 Jun 2006 19:35:35 -0700 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <44960dc2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1150684610 68.69.17.41 (18 Jun 2006 19:36:50 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail