Add new comment

Under Windows:

Under Windows:
The problem may relate to FILE* pointer:
- you create one in your code (using runtime you specify on linking your code)
- and pass it to libjpeg.dll

You need to make sure that libjpeg.dll uses same runtime version with same FILE* structure layout.

(the problem is windows-specific, on Linux/Unix and Mac FILE* is handled by the single system runtime)

-- Alex Tutubalin @LibRaw LLC