Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging VFP DLL
Message
De
07/09/2001 17:46:52
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00554077
Message ID:
00554123
Vues:
15
>Is there a way to stop a fox DLL once loaded into memory?
>I call my dll from an .ASP file but if I need to change it I
>must close the page that called the DLL but that doesn't even
>work all the time. So if I could stop a DLL in NT4.0 somehow
>it would be the solution.
>
>Another quick one is:
>Can the VFP debugger be ran when running a DLL? So as to
>stop the program like if I was running my program within Fox...
>
>
>Thanks in advance for any help.
>
>Willy

There is a KILL.EXE on the NT 40 CD which takes a program ID (from the task manager) or program name parameter. It runs from the command window. If it is passed the program name, it will kill all the instances of that program. I am assuming a DLL posts a program id in the task manager (under processes).

Also you could build a timer into your DLL which would check for a file in a specified folder. When it finds the file, (you could call it (process).kill where process is the name of your program), it could shut itself down. This would be nice and clean. When you want to update the program, just put the file in that folder.

HTH
Charles Richard
NVO Management Systems
crichard@nvo.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform