The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Al_S (1) [Avatar] Offline
#1
I posted in the MSDN:

http://social.msdn.microsoft.com/Forums/en-US/clr/thread/72d44c53-a2f9-45c7-8be5-4d911d4d7152

I am trying to call a function that returns a class in unmanaged legacy C++ DLL. In that class there are also virtual functions that are not exported. Actually, there is only one method that is exported, and that is the one that returns the class. I tried to call them via P/Invoke in C# but am unsucessful thus far. I'm told that I have to wrap that in CLI in a wrapper and am looking for a reference to doing this from your book.

Thanks in advance

Message was edited by:
Al_S