Autor Beitrag
FriFra
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: Mo 31.01.05 17:07 
In meinem Projekt, welches unter Delphi7 noch problemlos lief tritt neuerdings ein kleines Problem auf, wenn Application.HelpJump(...); aufgerufen wird:
Zitat:
Im Projekt Projekt1.exe ist eine Exception der Klasse EHelpSystemException mit der Meldung 'Kein themenbezogenes Hilfesystem installiert' aufgetreten

:? :gruebel:

Wie bekomme ich die Hilfe auch unter Delphi2005 zum laufen?

P.S.: Das ich mit dem Problem nicht allein dastehe sieht man u.a. hier: qc.borland.com/wc/qcmain.aspx?d=9892

_________________
Michael
(principal certified lotus professional - developer)
FriFra Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: So 06.02.05 14:31 
Ich hab mir jetzt selbst einen Workaround gebastelt:
www.frifra.de/download/dev/frifrahelp.zip

Die zip-Datei enthällt folgende Dateien:
1. FriFraHelp.pas
2. FriFraHelp.res
3. readme.txt

Es müssen nur FriFraHelp.pas und FriFraHelp.res ins Projektverzeichnis kopiert und FriFraHelp in die uses eingefügt werden.
Die pas Datei leitet alle Application.HelpJump und Application.HelpContext über eine externe Anewendung (in FriFraHelp.res, compiliert mit D6 pro ;)) und ruft die entspr. Hilfe auf. Die Hilfe verhällt sich exakt wie unter D 3,4,5,6,7...

:!: Die einzige Einschränkung dieses Workaround besteht darin, dass ausschliesslich HelpJump und HelpContext unterstützt werden. Die anderen Commandos kann ich beim Abfangen nicht klar erkennen.


E D I T:
Dieser Workaround ist jetzt nicht mehr nötig, da ich den Fehler in den entspr. Delphi Sources zumindest umgangen habe (s. mein Post vom 28.11.2005)

_________________
Michael
(principal certified lotus professional - developer)


Zuletzt bearbeitet von FriFra am Mo 28.11.05 10:10, insgesamt 1-mal bearbeitet
FriFra Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: Mo 28.11.05 10:07 
Wenn man die unit WinHelpViewer einbindet tritt zwar der Fehler nicht mehr auf, aber es wird auch keine Hilfedatei geöffnet...

Ich hab mir den Bug jetzt nochmal vorgenommen und eine Lösung gefunden. Der verwendete WinHelpTester ist immer nil, weshalb es niemals zum Aufruf der Hilfedatei kommt. Leider gibt Borland die entspr. Sources nicht heraus (zumindest in der professional), weshalb eine genaue Fehleranalyse nicht möglich ist. Man muss jedoch nur dafür sorgen, dass die function UnderstandsTopic aus WinHelpViewer true liefert.
Dafür hab ich gleich mal ein kleines Patchtool geschrieben, welches die entspr. WinHelpViewer.pas ändert und compiliert.
> D O W N L O A D <

_________________
Michael
(principal certified lotus professional - developer)