Re: about peghelp by Michel
Michel
Thu Feb 09 18:52:33 CST 2006
Hmmm, it's quite impossible the single \ worked in 4.0, but then again,
you may have made a typo in your code.
If you did use double \\ there may be another cause for this to happen:
Is your harddisk already mounted when you call CreateProcess? If not,
peghelp won't be able to find the file and show the default page (same
case as with single \).
Good luck,
Michel Verhagen, eMVP
EmbeddedFusion
mverhagen at embeddedfusion dot com
voidcoder wrote:
> use "\\harddisk\\myapp\\myhelp.htm" instead of "\harddisk\myapp\myhelp.htm"
>
>
>
> "Maverick" <Maverick@maverick.com> wrote in message
> news:eBg9OzSLGHA.2904@TK2MSFTNGP10.phx.gbl...
>> Hi, all
>>
>> I am transfering from ce.net 4.0 to 4.2, but met great problem when using
>> peghelp.
>>
>> Here is what I called in my prog:
>>
>> CreateProcess(L"PegHelp.exe", L"\harddisk\myapp\myhelp.htm", NULL, NULL,
>> false, 0, NULL, NULL, NULL, NULL);
>>
>> On ce.net 4.0, it runs without any problem, however, on 4.2 it always show
>> the system's default help page, no matter how I change the file path.
>>
>> But in system's command line window, after I run "peghelp
>> \harddisk\myapp\myhelp.htm", I can get the correct help window.
>>
>> What's wrong?
>>
>>
>> Maverick
>>
>>
>
>