Re: ShellExecute problem
- Posted by Rael Jul 25, 2008
- 949 views
Hi there,
Good news ! I took a look at the win32lib routines for ShellExecute and ShellExecuteEx, and found the errormessage. Aparantly the ShellExecuteEx absolutely wants to pass a window identifier to the underlying Windows ShellExecute function. But in the microsoft documentation it is stated that ShellExecute can do without that identifier (NULL value allowed), and as my ShellExecute is not needing a window (it spawns IE: ShellExecute("open","\Somepath\index.html", SW_SHOWNORMAL) ), I've copied and modified David Cuny's ShellExecuteEx into my app, and you know what : IT WORKS !
Thanks all for helping !
Regards,
Dirk.