How to convert a member function pointer to a normal function pointer

d d at nomail.com
Thu May 3 09:17:21 PDT 2007


"Daniel Keep" <daniel.keep.lists at gmail.com> wrote in message
news:f1cva7$2jc2$1 at digitalmars.com...
>
> As Jarrett mentioned, most C apis should allow you to pass a void* or
> something to your callback, which you can use to construct a delegate.
> Since you didn't actually mention any specific functions, I can't really
> tell if that's the case here.

Don't think it is - at least not if OP really wants MakeObjectInstance,
which is specific to the Win32 API WndProc definition... see my lengthy
reply above.





More information about the Digitalmars-d mailing list