Add new comment

C++ Builder issues

Hi

I'm using Libraw 0.19.5 Release 32 bit DLL with Codegear C++ Builder 2007 32 bit

I've used its implib utility over the DLL to create an import library and am referencing libraw.h

But I always get a link error [ILINK32 Error] Error: Unresolved external '_libraw_init' referenced from H:\LIBRAW\DEBUG\UNIT4.OBJ

I've tried changing DllDef to __declspec in the header, but no joy.

So I tried using LoadLibrary() instead and always get error 193 (is not a valid Win32)...

Does anyone know how to overcome this?

Thanks

Forums: