Article View: borland.public.cppbuilder.nativeapi
Article #3555Re: Using CHM files in BCB6
From: Analian
Date: Sat, 27 May 2006 11:22
Date: Sat, 27 May 2006 11:22
37 lines
2382 bytes
2382 bytes
> execinfo.lpFile = "hh.exe"; // Executable in
> \WINDOWS\system32 for Html Help
Actually I've got a \WINDOWS\hh.exe, rather than \WINDOWS\system32\hh.exe
So you say to
execinfo.lpFile = "hh.exe";
but with
> AnsiString HelpFile = "a.chm::/topic.htm"; // topic.htm is a topic
> inside a.chm
I actually do
execinfo.lpFile = "a.chm::/topic.htm";
I don't understand what do you mean here.
I tried
execinfo.lpFile = "a.chm::/topic.htm";
where topic.htm exists in my a.chm, which I've compiled with HelpMaker and
manually checked that topic.htm exists,
but when I ShellExecuteEx with this execinfo I get
"Windows cannot access the specified device, path, or file. You may not have
the appropriate permissions to access the item"
which isn't good.
> for more info
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconhtlink6.asp
I checked this out, but I couldn't find the mentioned 'execfile' macro
there, neither compile it.
Maybe I'm missing a header file?
> ::FindWindow(NULL, "My title help"); // returns not NULL if that
> help title is already open
This works fine, thanks.
> http://web.archive.org/web/20030626080800/www.bcbdev.com/faqs/faq74.htm
I couldn't browse to this link, "Error 400 Bad request".
Analian
Technical Details
Message-ID:
<44783661$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4476c656$1@newsgroups.borland.com> <ops96etynxz6rw7b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,27bcb2a52828a1c4 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Analian" <analian@mail.bg> Newsgroups: borland.public.cppbuilder.nativeapi References: <4476c656$1@newsgroups.borland.com> <ops96etynxz6rw7b@newsgroups.borland.com> Subject: Re: Using CHM files in BCB6 Date: Sat, 27 May 2006 14:22:08 +0300 Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 85.187.23.202 Message-ID: <44783661$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1148728929 85.187.23.202 (27 May 2006 04:22:09 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail