Hi,
We are using Delphi DLL in our c# application like:
[DllImport("SAPIDLL.DLL")]
public static extern Int32 PSpeak(string Text);
And we are calling this method through delegate Asyncronous then the following error occured:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Nageswararao DhulipallaPosted Nov 8, 2011, 1:58 AM
Suthish NairPosted Nov 6, 2011, 8:29 AM
Try this KB.
Sam HobbsPosted Nov 3, 2011, 4:05 PM
For the benefit of others, note that this question was also asked in: