Hi Gene,
Quote:
Is there any way to have a DLL declaration scoped to a particular
object? The declarations appear to be global. Am I correct in
thinking this?
a DLL declaration is always global for vfp, there is no scope limitation to an
|
object or something else.
You could build some DLL declarator object, which registers a DLL for a certain
object. Then, any object, that needs a DLL, uses this DLL declarator for loading
and unloading the DLL. The DLL declarator keeps track, how many objects need a
DLL and really unloads the DLL only, if all these objects, that registered this
DLL, have asked for unloading. It's maybe a nice example for learning oop...
Regards
Bernhard Sander