Walter Meester
HoogkarspelNetherlands
General information
Category:
Coding, syntax & commands
>>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,
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only