Question on exposing non-windows functions from dlls...

Ove Kaaven ovehk at
Fri May 18 17:36:06 CDT 2001

On Fri, 18 May 2001, Mike Bond wrote:

> If you can point me to some way of implementing _exec[lv][ep] using the
> standard win32 API I would be more than willing to.

You could do:

if (CreateProcess(...) == successful) ExitProcess(...);

> Unfortunately that was one arguable shortcoming of win32 process
> management in that it did not have any interface that allowed loading
> and running an image in-process.

No, but who says that that's what exec does in msvcrt anyway? It would be
a big mistake to accuse Microsoft implementations of having the same
semantics as similarly-named Unix functions, so don't do that, please.

More information about the wine-devel mailing list