I call into the other library, which returns a string with the correct data (inside the debugger anyway), which I copy into a new char buffer to hand back to Revolution. As soon as I come out of my function, I get the following message from the Microsoft Visual C++ Debug Library:
Pressing Retry doesn't help of course, as I can't debug RevolutionDebug error!
Program: C:\Program Files\Revoluton Enterprise\3.0.0-gm-3\Revolution.exe
HEAP CORRUPTION DETECTED: after Nortmal block (#84) at 0x02086EE8.
CRT detected that the application wrote to memory after end of heap buffer.
(Press Retry to debug the application)
(Abort) (Retry) (Ignore)
Pressing Ignore lets me continue, but the result of the external function call is empty.
Any ideas?
Jan Schenkel.