Thanks a lot Darwen!
It works perfectly. I did not forget to change to PtrToStringUni().
Printable View
Thanks a lot Darwen!
It works perfectly. I did not forget to change to PtrToStringUni().
Hi Darwen,
I am using the above code. If I use the Post message a number of times say 10-12. Then my application is terminating with an error message which says:
The instruction at "0x77fcc2c0" refernced memory at "0x004d0041". The memory could not be "written".
What could be the reason.
Which part of the app is GPF-ing ? The .NET side or the C++ side ? If it's the C++
side if you run the dll in the debugger it should tell you which line it's GPF-ing on.
Darwen.