GetDelegateForFunctionPointer

  • Thread starter Thread starter jminiman
  • Start date Start date
J

jminiman

So this capability is absent in CF.NET 2.0. I'm pretty far from a COM
Interop expert...can someone share some sample code that is logically
equivalent to Marshal.GetDelegateForFunctionPointer? I'm not having
much success in finding such a sample on Google.
 
This isn't really possible with the Compact Framework because of the
limitations in the marshaller. Currently, there's no way to create a CCW so
that COM can call .NET code. You could work around this by creating a native
shim which called the function pointer when P/Invoked from your .NET code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top