Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compiling help system
Message
De
07/03/2007 11:12:03
 
 
À
07/03/2007 10:59:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Divers
Thread ID:
01201473
Message ID:
01201546
Vues:
17
>>>I can't compile the help system (with HTML Help Workshop), until I either close VFP, or SET HELP OFF. I get an error message, stating that the help compiler can't open the CHM file.
>>>
>>>This is strange, for when my SET HELP doesn't involve the help file I want to compile:
>>>
>>>
>>>set("help") = "OFF"
>>>set("help", 1) = (the standard VFP help file, ...foxhelp.chm)
>>>
>>>
>>>Since this only happens after I had opened the compiled CHM file in VFP, it seems obvious that the file is somehow in use, despite the fact that on shutdown, the main program sets help back to the standard VFP help.
>>>
>>>Any ideas?
>>
>>When does ON SHUTDOWN fire?
>
>The problem I mention is after quitting my application, and returning to the VFP command window. The problem only appears if at some moment I did open the compiled help file.
>
>So, there is no active ON SHUTDOWN.
>
>I can circumvent the problem by issuing SET HELP OFF, but I still find this weird.

If you are running your application in the development environment and then quiting to the command window, ON SHUTDOWN is not firing to release the help file. ON SHUTDOWN does not fire until you EXIT foxpro. Try putting a messagebox or something in the ON SHUTDOWN routine so you can see when it fires.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform