Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExecScript Problem
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
ExecScript Problem
Miscellaneous
Thread ID:
00889264
Message ID:
00889264
Views:
49
Howdy all..

Here's the deal: On the start of our application I am issuing a bunch of SET CLASSLIB ADDITIVE statements to pull in the libraries. This works like a charm for the application as a whole.

When I try to run EXECSCRIPT on a string that contains object creation code (either with CREATEOBJECT or NEWOBJECT), I get an error back stating that the app cannot instantiate the class or locate the class library in question. If I do an additional SET CLASSLIB for the library in the beginning of the string, I get an error that the alias is already in use.

How am I able to have the code inside the EXECSCRIPT make use of the classes that should already be available?

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Next
Reply
Map
View

Click here to load this message in the networking platform