API returns memory related error when calling inside a DLL

P

Pradeep

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). 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.
 
R

red floyd

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). 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.

And what was your question?

See FAQ 5.8, http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.8

Also FAQ 5.9, as your question appears to be about some third party
library, rather than
the C++ language itself.
 
M

mlimber

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). 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.

According to FAQ 5.9 (http://www.parashift.com/c++-faq-lite/how-to-
post.html#faq-5.9) this group is about the C++ language proper,
whereas your question is about third-party library used from a C++
application. Hence it is off-topic.

In any case, you haven't given us enough information to help you. We
don't know anything about what this DLL might be doing or what you
might be doing wrong. You'll need to find a more specific newsgroup
(see the list in the aforementioned FAQ) or contact the DLL vendor.

Cheers! --M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top