API Compatible pointer to a memory stream ...

  • Thread starter Thread starter Christopher Kurtis Koeber
  • Start date Start date
C

Christopher Kurtis Koeber

Dear All,
I would like to pass a pointer to a C/C++ DLL to a System.IO.Stream. I
saw this information somewhere but I didn't bookmark it. Any help would be
appreciated. Thank you for your time and consideration in this matter.
Sincerely,
Christopher Koeber
 
Christopher Kurtis Koeber said:
I would like to pass a pointer to a C/C++ DLL to
a System.IO.Stream. I saw this information somewhere but
I didn't bookmark it.

What exactly does the C/C++ DLL expect? Can you post the function's
signature?
 
Here is the function from the FreeImage Library. This is a c++ DLL.

DLL_API Long *DLL_CALLCONV FreeImage_LoadFromMemory(FREE_IMAGE_FORMAT fif,
Long *stream, int flags FI_DEFAULT(0));

Thank you very much for your help!

Christopher Koeber
 

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

Back
Top