Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EXE no longer recognizes a VCX
Message
De
16/04/2003 11:06:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00778206
Message ID:
00778356
Vues:
28
>The most obvious reason would be that the SET CLASSLIB statement is missing.

It's the same code, thus same EXE. It works at one place and reports that message in another place.

>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.

On the production machine, there is no sources. It works. This is the same as in the new server. Yes, it's coming from a sub EXE. So, that means there is a non accessible item from that level. However, it is quite strange that it works in one place and not in the other.

>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.

I will do more research and will tell me once I find it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform