Discussion:
HTMLHelp API call out of service broken
(too old to reply)
Stefan
2010-04-27 14:06:15 UTC
Permalink
Hello all,

we have a application that can be run in SYSTEM and in USER mode.
i.e. it can be run as service (for operational mode )and as a normal
application
(for debugging purposes).


inside we have added a new help functionality based on the HtmlHelp
API call

CString sFileName = "C:\\Help\\helpfile.chm");
::HtmlHelp(NULL, sFileName, HH_DISPLAY_TOPIC, NULL);


This one works in "normal application mode", but not when run as a
service.

Amazingly i could not find anything on the internet about this kind
of
error except a five year old entry here, stating that

"HTML Help API broken after security update 896358"


There is suggested to have an extra executable to do the HtmlHelp
call which is running in UserContext. We have tried this now, but it
still doesn't work. Futhermore it has all the same errors that we had
before with the HtmlHelp call directly out of the service.

We have a very little executable doing nothing else than opening the
CHM File. The Exe is running in USER Context already and is triggered
by a com interface.


Thanks in advance!
Stefan
Stefan
2010-04-27 17:38:02 UTC
Permalink
forgot to say:
the service has sadly interactive mode, having a gui, but still acting
as a service

and:
any input appreciated!


anyone else had this problem for sure...

thanks you so much
Stefan

Loading...