launch CHM

Post here any ideas/problems/suggestions you have regarding CodeLite's ExternalTools plugin

launch CHM

Postby jfouche on Tue Dec 30, 2008 4:47 pm

Hi
I tried to add help files as an external tool, but it doesn't work :
Code: Select all
15:40:54: Error: Execution of command '"C:\_Perso\projets\lib\wxWidgets-2.8.9\docs\htmlhelp\wx.chm" ' failed (error 193: unknown error c1)

I think the problem comes from the fact that it is not an executable file.
I also have :
Code: Select all
15:28:57: Error: Image file is not of type 15.

But I don't know if this comes from External Tool plugin (I didn't find "Image file is not of type" in CodeLite sources).
Am I right ? Is there a solution or must I create a "help plugin" ?
Jérémie
VersionManager plugin : http://code.google.com/p/versionmanager/
jfouche
 
Posts: 195
Joined: Mon Oct 20, 2008 5:26 pm
Location: France

Re: launch CHM

Postby sdolim on Tue Dec 30, 2008 10:05 pm

I think you have to say something like this:

cmd.exe /[some flag] start "my file.chm"

I don't know the exact flag -- whichever is the one that says "execute the rest of this line".

The "start" tells cmd.exe to find the right exe for your CHM file.

Alternatively, you could make a .bat file that has this "start ..." command in it.
sdolim
 
Posts: 69
Joined: Fri Oct 24, 2008 8:29 pm

Re: launch CHM

Postby irmlab on Tue Jun 15, 2010 9:14 pm

Apparently, this function requires a specific plug-in.

I found in Code::Blocks that the CHM implementation as a "word-at-cursor" help requires a plug-in.

On a simple command line, the CHM protocol requires the full path to the HTML page ("/x/y/keyword.htm")

The C::B Help plug-in uses the API and invokes the "Search" function in the CHM, then show the html page.

irm
irmlab
 
Posts: 5
Joined: Tue Jun 15, 2010 8:07 pm


Return to External Tools

Who is online

Users browsing this forum: No registered users and 1 guest

cron