Cannot open files with a path:

Hi, The newest version of htmlexe does not accept paths in the parameters for

Hi:

When I include a path on one of my functions, htmlexe locks up.

TEST

locks up the application
while
TEST

produces a message box with setup.exe in it.

Using the newest version of the app.

procedure openFileAsAdmin(filename: String);
var
EbookPath: String;
MyFile: String;

begin
EbookPath := GetGlobalVar(“HEPublicationPath”, “”);
MyFile := IncludeTrailingPathDelimiter(EbookPath) + filename;
MessageBox(MyFile,MyFile, MB_OK);
// OpenFileAdv(MyFile, “” , “runas”, SW_SHOWNORMAL);
end;

With new versions of HTMLEXE, special characters like \ should be encoded like in URLs.
TEST
should become:
TEST

You can use this page to encode URLs:
http://www.w3schools.com/tags/ref_urlencode.asp