๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9424

Re: Callback function as method class

#9424
From: Torsten Franz
Date: Mon, 12 Jul 2004 14:10
15 lines
1475 bytes
> But if I use the satic keyword for this function like this:
> static LRESULT CALLBACK NewWindowProc(HWND hWnd, UINT msg, WPARAM w,  
> LPARAM
> l)
>
> The compiler refused with this error in french:
> E2092 La classe de stockage 'classe de stockage' n'est pas autoris๏ฟฝe ici
> Translate:
> E2092 the class of storage 'stockage class' is not authorized here
> Why ?
>

Because you most probably referenced non-static data or member functions
 from within this function.
Technical Details
Message-ID: <opsa02zhrhbvg2y3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40ee3b69@newsgroups.borland.com> <40ee47c8$1@newsgroups.borland.com> <40ee5da2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,68c63a4b5ad1dd83
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Callback function as method class
References: <40ee3b69@newsgroups.borland.com> <40ee47c8$1@newsgroups.borland.com> <40ee5da2@newsgroups.borland.com>
Message-ID: <opsa02zhrhbvg2y3@newsgroups.borland.com>
Date: Mon, 12 Jul 2004 16:10:19 +0200
From: "Torsten Franz" <FirstName_LastName at agilent dott com>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
User-Agent: Opera M2/7.50 (Win32, build 3778)
NNTP-Posting-Host: 192.25.19.11
X-Trace: newsgroups.borland.com 1089641416 192.25.19.11 (12 Jul 2004 07:10:16 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail