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
"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Christopher Kurtis Koeber" <(E-Mail Removed)> schrieb;
>> 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?
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>
>
>
|