Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multimedia Class
Message
 
 
To
05/08/2001 12:25:21
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00539770
Message ID:
00539895
Views:
21
This message has been marked as the solution to the initial question of the thread.
>Hi Sergey
>
>I am loading Foxtools.fll already so that cannot be the problem. I am quite stuck here as this is very unusual. The error message is 'API Library not found'. This is not a foxtools.fll error. Why would this work while running the form from within the project while in VFP environment and not as a standalone exe?

Because there is a bug/feature in this class. It doesn't check if the foxtools library already installed. Here is the code
SET LIBRARY TO HOME() + ".\FOXTOOLS.FLL"
It also closes all FLL libraries because it doesn't have ADDITIVE clause. You can fix it by replacing this line of code with following
IF NOT ("FOXTOOLS.FLL" $ SET("LIBRARY"))
    SET LIBRARY TO HOME() + ".\FOXTOOLS.FLL" ADDITIVE
ENDIF
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform