Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

JamesPrevallet

@JamesPrevallet
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Pointer to Member Operator?
    J JamesPrevallet

    The amazing yet ellusive ->* operator appears to require an object of a known type. Suppose you want to call a member function of an arbitrary object? For example, in the creation of a service, I designed an interface to allow consumers to pass in a "this" pointer and their callback function. What's the recommended way to dish up the program counter to them when all I have are these two items? void *pThis; typedef BOOL (CALLBACK * LPFGETMESSAGE)(IN EMS_HANDLE hSentMessage, IN CString &Body, IN BOOL bSuccess); I have no way to find out what type of object "pThis" is, nor do I WANT to know. Best of, James Prevallet http://www.mp3.com/JamesPrevallet

    C / C++ / MFC com tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups