RE: [Dev-C++] Static members for callbacks
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ho...> - 2002-07-28 21:09:20
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Abhijit Shylanath > Sent: Sunday, July 28, 2002 11:15 AM > To: Dev-C++ Mailing List > Subject: Re: [Dev-C++] Static members for callbacks > > > > > Okay, so this is how it's done... thanks. But this means that > > > you can't use > > > non-static methods for external callbacks (like Windows') > directly. > > > > > > Can you explain the above? > > You can't use non-static methods for windows callbacks (like in > CreateThread(), SetWindowsHookEx()) which need you to suppply > a call-back > function. This is too Win32 to me. What do you mean by call-back function. Can you provide a small concrete example? I am learning .NET myself which is c00l and fully OO (and very easy) and it has nothing to do with Win32 but that's another story. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |