User Profile
Collapse
-
how to pass parameter "_bstr_t cons &" to invoke a dll written in C++?
Hi,
I am a complete newbie and these are the first lines of code that I write, so please be patient :(
I need to create a C# exe file that calls a c++ function
What I wrote always throws an error at runtime:
...Code:Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at DDecrypt.DefaultDecrypt(String
Last edited by tlhintoq; Mar 1 '10, 01:44 PM. Reason: [CODE] ...Your code goes between code tags [/CODE]
No activity results to display
Show More
Leave a comment: