Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiler Errors
Message
 
To
08/08/2000 15:19:53
Steve Summers
Pima County Superior Court
Tucson, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00402440
Message ID:
00402443
Views:
10
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform