Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Message: API call caused an exception.
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00592114
Message ID:
00592507
Views:
61
>>Hi everybody,
>>
>>There are several times, when I got this error message using FoxTools.fll It might be related to the fact, what we have different foxtools.fll versions loaded in the memory.
>>
>>My question is: how to prevent this error from happenning?
>>
>>Thanks in advance.
>
>Make sure that only one version of FoxTools.fll is in use.
>BTW, why do you use different versions of foxtools.fll in the same application in the first place?

Hi Sergey,

I don't. In my applications I always use this construction:
if not 'FOXTOOLS.FLL' $ set('library')
   set library to foxtools.fll additive
endif
However, my applications are run under main JobControl application. Some other applications also may use foxtools. I can not guarantee, what all they use the same precaution, as I do. Besides, I'm not 100% sure, this "API call caused an exception" comes from difference in versions. It might be something else.

We're using Windows 95 here and I vagually remember, what this might be another reason. Neverless, I need to know, how to prevent this error completely. It's random and happens about once in 10-11 calls...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform