AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Programmieren allgemein C++ CHM-Hilfe meines Programms ist 'nicht erreichbar'.
Thema durchsuchen
Ansicht
Themen-Optionen

CHM-Hilfe meines Programms ist 'nicht erreichbar'.

Ein Thema von Michaell · begonnen am 1. Aug 2017 · letzter Beitrag vom 12. Mär 2018
 
Michaell

Registriert seit: 17. Aug 2015
Ort: Bayern
47 Beiträge
 
Turbo C++
 
#6

AW: CHM-Hilfe meines Programms ist 'nicht erreichbar'.

  Alt 12. Mär 2018, 11:29
Ich habe nun doch noch eine Lösung gefunden:
Code:
// *************************************************************************************************
// parameter 'helpFileChapter':
//    Do a right mouse click on the displayed CHM file and select the item 'Properties'.
//    Behind 'Address:' there is for example this displayed:
//       mk:@MSITStore:D:\Repositories\...\Help.chm::/Introduction.htm
//    at the end of the address it the required *.htm file information.
// *************************************************************************************************
void CCommand::Exe1ShowDedicatedHelp(char helpFileChapter[200])
{
   char helpFilePath[MAXPATHLENGTH], commandOption[MAXPATHLENGTH * 2];

   // build the help file path
   sprintf(helpFilePath, "%s%sHelp.chm", STARTDIR, "Help\\");
   // build the 'hh.exe' command option
   sprintf (commandOption, " %s::/%s", helpFilePath, helpFileChapter);
   // call the help with a dedicated help file chapter
   do_spawnvp(P_NOWAIT, "hh.exe", commandOption);
}
  Mit Zitat antworten Zitat
 

 

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:29 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz