PureHELP Maker : fast help builder for userlibraries

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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:
Last edited by gnozal on Fri Mar 25, 2005 9:14 am, edited 1 time in total.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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 ?
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Ok, I will take a closer look, but I can't reproduce the error (is there an error message?).
Last edited by gnozal on Fri Mar 25, 2005 8:55 am, edited 1 time in total.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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 ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

I have updated a synthax, but when I want to update, the synthax doesn't chnge. I have selected do not replace...
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

Ah... strange... me, I had olwaise the old synthax in synthax edit zone.
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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:
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update
- fixed a bug with paths containing spaces (missing double quotes)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re

Post by srod »

Brilliant tool. Saved me hours of work.

Well done and thanks for sharing.
I may look like a mule, but I'm not a complete ass.
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: Re

Post 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
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Thanks 8)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
doodlemunch
Enthusiast
Enthusiast
Posts: 237
Joined: Tue Apr 05, 2005 11:20 pm

Post by doodlemunch »

how do you make those flat nise buttons? i see they are not standard is there any flag for them???
Post Reply