[DUG] ShellExecute encoding

John Bird johnkbird at paradise.net.nz
Tue Jul 28 19:45:39 NZST 2009


How can I pass a # character to a command line used by a browser so it 
arrives as a # in the URL, and not as a %23

eg I am wanting to pass a command line parameters to a browser,

    ShellExectute(Application.Mainform.Handle,'open',PChar(Browserexname), 
PChar('C:\HelpFileDir\Help1.htm#TAGNAME'),.....)

but it mangles the # into a %23 by the time it arrives at the browser, which 
I don't want...

John 




More information about the Delphi mailing list