>What is the scope of this? I know that it's application wide, but if I have two separate vfp EXEs running, one launched by the other, will this wipe everything clean for both of them anywhere I put it?
George Tasker is right. Since you're using different EXEs, each of them will be a different process, so, CLEAR DLLS in one EXE cannot affect the other. This is no longer true if you're using different APPs.
Basically, with some rare exceptions, CLEAR DLLS should never be used in a program. (Because you don't know all the pieces of program that declare DLL functions and which assume that those functions are "there"). In order to protect yourself against other programs which may CLEAR DLLS, always DECLARE your DLL functions right before their use (or, at least, in the same function/proc/method). One exception is GetLastError() which must be declared before the use of other DLL functions for which you want to retrieve the last error code.
Vlad
Précédent
Suivant
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