PInvoke


  1. rishikt

This archived discussion is "read only".
For the corresponding "live" discussions, post in the active topic forum here.



Top 1.   Apr 9, 2004 1:53 AM

» rishikt - Managed to Unmanaged calls

I am calling GetStartupInfo API using PInvoke from a C# dll.
An exception is thrown when a C++ exe loads this C# dll and calls this PInvoke function.
"Invalid Address specified to RtlFreeHeap ( 130000, 20d10 )"

This exception was not thrown when I replaced the C# dll with an exe(using the same PInvoke format).

Can anyone throw some light on this matter?

-- posted by rishikt



Please follow the guidelines set forth in the Suite101 Posting Etiquette when adding to the discussion.