View Single Post
  #4 (permalink)  
Old 07-07-2008, 10:36 PM
dargueta dargueta is offline
Guru
 
Join Date: Oct 2007
Age: 18
Posts: 696
Last Blog:
Programs Under the Hoo...
Rep Power: 12
dargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the rough
Default Re: C++ - function pointers as a static data member.

Yep, you've got it. Like I said, function pointers are different for classes than for "regular" function pointers - they don't have the same signature or calling convention. Member functions use __thiscall and "regular" functions typically use __stdcall.

Last edited by dargueta; 07-07-2008 at 10:36 PM. Reason: Fixed typo
Reply With Quote