On Fri, 2006-06-23 at 04:14 -0400, Youness Alaoui wrote:
> - special characters in Windows logon username prevent from opening
> browser to hotlog.htm
>
the bug is in WinLoadFile in file winutils.cpp
First let me tell you again i don't know C programming, and also I don't
know how to compile on windows.. But here is a suggestion, feel free to
shoot me down if i say something stupid..
Now we have:
ShellExecute(NULL,"open", file, arguments, NULL, SW_SHOWNORMAL);
return TCL_OK;
So whatever ShellExecute is doing, TCL_OK is returned. I suggest that
the return value of ShellExecute is checked, and it it is an error value
then return TCL_ERROR (and of course first Tcl_AppendResult). That way
in the future it is easier to spot an error.
Furthermore about the error:
// Get the first argument string (file)
file=Tcl_GetStringFromObj(objv[1], NULL);
replace that by:
// Get the first argument string (file)
file=Tcl_GetUnicode(objv[1]);
Maybe that way it will work, but as I said I don't have a clue on how to
compile on windows..
Hope this helps,
Sander
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Amsn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amsn-devel