Page 2 of 5

Posted: Thu Mar 24, 2005 10:49 am
by gnozal
Le Soldat Inconnu wrote: it's the purple book in the chm tree :wink:
Ah, ok !
Le Soldat Inconnu wrote: An other error, i can't compile the chm autmatically. I have an error.
I must compile manually with HTML Work Shop.
What do you mean ? Do you have an error message when you click on 'Create HTML' files ? Do you checked the option 'Compile help folder to CHM' and is the path to HHC.exe correct (you need both HHC.exe and HHA.dll in the directory)?

No problems here :shock:

Posted: Thu Mar 24, 2005 3:45 pm
by Flype
same problem as Soldat Inconnu...
PureHELP don't find the html compiler file itself even if
i choose it correctly in the preference area.
maybe you have to specify the root directory of the executable...
i guess you use RunProgram() function so did you specify the parameter 'Directory' in your source ?

Posted: Thu Mar 24, 2005 3:51 pm
by gnozal
Ok, I will take a closer look, but I can't reproduce the error (is there an error message?).

Posted: Thu Mar 24, 2005 4:19 pm
by Flype
oki let's go for some tests...

[edit]
error message is :
Could not create CHM help file!
'the CHM filename appears here...'

[edit]
so i localized the bug.
both PureHELP Maker and PureHELP Compiler are concerned :
when the filename specified in the 'Help folder' or 'Default topic' string gadgets is composed with spaces 'C:\Document and Settings\Session\Bureau\Test\' for example.

try to do Chr(34)+folder$+Chr(34) in the PureHELP Compiler source... :roll:

[request]
is it possible when you click 'Library information extraction' button to keep all the stuff of the current project ?
For now, when you update your lib and want to re-read functions list of the updated lib we lost all the fields of all functions (overview, description, example) :x
:D

Posted: Fri Mar 25, 2005 8:54 am
by gnozal
Thanks for the precise report. It's this double quote thing again :(
I will fix that (in both programs).
is it possible when you click 'Library information extraction' button to keep all the stuff of the current project ?
Well, checking the 'When extracting library information, do not overwrite existing data' option should do that (works for me IIRC). Does it not ?

Posted: Fri Mar 25, 2005 9:13 am
by Gansta93
I have updated a synthax, but when I want to update, the synthax doesn't chnge. I have selected do not replace...

Posted: Fri Mar 25, 2005 9:21 am
by gnozal
What the 'When extracting library information, do not overwrite existing data' option should do :
- If not checked, all information is erased (like a new lib) ;
- If checked, the help topics are created for the new functions, and the existing information is not changed in the old topics (if information <> "")
It works for me, I have updated my PureCOLOR lib help file like this twice without problems.

Posted: Fri Mar 25, 2005 11:10 am
by Gansta93
Ah... strange... me, I had olwaise the old synthax in synthax edit zone.

Posted: Fri Mar 25, 2005 11:21 am
by gnozal
Gansta93 wrote:Ah... strange... me, I had olwaise the old synthax in synthax edit zone.
If your old syntax is 'MyLib_MyFunction(Arg1)' and your new syntax is 'MyLib_MyFunction(Arg1, Arg2)' for the same function, the new syntax is not updated because like I said : the existing information is not changed in the old topics (if information <> "").
The update mode does not overwrite existing data, it adds the new functions (all informations) and missing informations in the old functions.
Delete the information you wish to update in the old functions.

Posted: Fri Mar 25, 2005 6:21 pm
by Flype
Well, checking the 'When extracting library information, do not overwrite existing data' option should do that (works for me IIRC). Does it not ?
well i understand what's happened !
you're right but if i change all my function's name by just replacing ( for example ) PureXml_DoSomething() by PureXML_DoSomething() and this way i loose the data. it's because in your source code you might do

Code: Select all

If LCase(NewFunctionName$) <> LCase(OldFunctionName$)
rather than

Code: Select all

If NewFunctionName$ <> OldFunctionName$
but, it's a particular case and you might not want such a comportment... :wink:

Posted: Sat Mar 26, 2005 10:47 am
by gnozal
Update
- fixed a bug with paths containing spaces (missing double quotes)

Re

Posted: Mon Apr 11, 2005 12:07 am
by srod
Brilliant tool. Saved me hours of work.

Well done and thanks for sharing.

Re: Re

Posted: Mon Apr 11, 2005 1:53 am
by NoahPhense
srod wrote:Brilliant tool. Saved me hours of work.

Well done and thanks for sharing.
Agreed! This will save me MANY hours of working on html, and compiling
down to chm..

Thanks!

- np

Posted: Mon Apr 11, 2005 7:49 am
by gnozal
Thanks 8)

Posted: Mon Apr 11, 2005 8:23 am
by doodlemunch
how do you make those flat nise buttons? i see they are not standard is there any flag for them???