Re: ShellExecute problem

new topic     » goto parent     » topic index » view thread      » older message » newer message
Rael said...

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.

You may wish to read the documentation for WinMain(). It allows for not using a main window at all, although this is not used very often that I know. I'll have to include a demo about this I guess.

CChris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu