>I'm using the _Isource.dll from Smaller Anaimals to do JPG cropping. Everything works fine in development but when I go to compile a Win32 Exe from the project I get the following errors:
>Unknown ISOPENFILESOURCE - Undefined
>Unknown ISREADJPGTORGB - Undefined
>Unknown ISGETLASTERROR - Undefined
>Unknown ISCLOSESOURCE - Undefined
>Unknown ISCROPRGB - Undefined
>Unknown ISOPENFILEDEST - Undefined
>Unknown ISWRITERGBTOJPG - Undefined
>Unknown ISCLOSEDEST - Undefined
>
>It seems the compiler doesn't understand the Dll Function calls. I defined them all in the init of a custom class. I tried to add the dll to the project under API Librarys but I now get an error stating "Library File _isource.dll is invalid."
Is this an FLL or DLL. With the former, somewhere in the code you should issue SET LIBRARY TO...to resolve the compiler references. With the latter, you'd need DECLARE - DLL syntax.
George
Ubi caritas et amor, deus ibi est