Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE no longer recognizes a VCX
Message
 
To
16/04/2003 03:37:11
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00778206
Message ID:
00778249
Views:
23
Hi Michel,

>But, as soon as come time to createobject('something'), it says that class definition not found for the something.vcx file. Anyone has any idea what could cause this?

The most obvious reason would be that the SET CLASSLIB statement is missing.

It would also happen if one of the parent classes is not included into the EXE. It might work on the other machines, since VFP tries to locate the external the VCX file in this case. A common scenario is if an application is split across multiple EXE to make distribution easier. This doesn't work very well with VCX classes.

It could also be that the CREATEOBJECT() line is executed from an external file that is not included into the app. In this case, VFP might have switched to a different application session and doesn't find file included into the original EXE. A sample is if an external SCX is called from an EXE and that SCX calls another external SCX. In this case, the second SCX might not have access to any file built into the EXE.

--
Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform