Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compiling help system
Message
 
À
07/03/2007 09:42:57
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:
01201781
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
Hi Hilmar,

The issue is with the way VFP uses CHM files - it uses a COM object that interacts with the Windows help engine and that COM object often continues to hold a reference to your help file even if you 'close' it.

If I remember correctly you can swith to a different help file.

SET HELP TO *your help file*
SET HELP TO && VFP help file

At this point I believe you can compile and get it to work.

Frankly I don't remember exactly what the issue is since I use Help Builder for building and testing my help files (which basically plugs into VFP and lets you pop up the editing environment instead of the CHM with an alternate key). So final compilation is a bit more rare <s>...

+++ Rick ---

>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?
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform