> For me a C library as no way to carry a this pointer for a c++ wrapper, > I pass a static C function as call-pack, and this pointer as usr_data, > and call member function from there. Maybe I'm wrong but it works:
Ah I see. This is handled by the runtime, the C function gets a pointer to the method I pass to it, (all done with delegates in C#). Cheers. -- Richard Heyes --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]