API returns memory related error when calling inside a DLL         


Author: Pradeep
Date: Jul 23, 2008 06:00

Hi All,
I am calling a third party API which takes one PVOID argument and
returns data in it. It is a DLL application (Multithreaded dll,VS
6.0). But every time this API returning a memory related error saying
that error with buffer size. I am sure buffer size is enough.
I tried with allocating memory dynamically as well but got the same
result.

Kindly suggest.
diggit! del.icio.us! reddit!