Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call updated prg/frx/scx that is outside applicat
Message
De
10/12/2009 13:25:47
Walter Meester
HoogkarspelPays-Bas
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01438358
Message ID:
01438456
Vues:
71
>>That is not entirely true. It depends on whether the resource has been loaded before in the instance of the application. If the application has accessed the resource before, it is in a cache and therefore any outside program/form can see it
>
>I don't think so.

Well try it out... instantiate a class within the exe and then call a FXP that creates a new isntance of the same class. It will do this without a problem. Omit the instatiation within the EXE, then the FXP will crash as it cannot find the class lib.

Anyways there are tricks out there to overcome much of the problem of not seeing the resources inside the EXE. One of them is using a factory created within the EXE to create objects.

And as long as a called function is somewhere in the stack(level) of PRGs a call from an outside FXP will find it.


We've done some extensive work on this principle to extend our applications on an ad-hoc basis.

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform