Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement