Newsgroups: comp.windows.ms.programmer
Path: utzoo!utgpu!watserv1!watmath!hyper.hyper.com!bonneau
From: bonneau@hyper.hyper.com (Paul Bonneau)
Subject: Re: Windows, Exec, Subprogram
Message-ID: <1991Apr14.184603.26321@hyper.hyper.com>
Reply-To: bonneau@hyper.UUCP (Paul Bonneau,,)
Organization: HyperCube Inc.
References: <1266500005@cdp> <1991Apr12.211658.28611@netcom.COM> <1991Apr13.010556.25866@borland.com>
Date: Sun, 14 Apr 1991 18:46:03 GMT

In article <1991Apr13.010556.25866@borland.com> sidney@borland.com (Sidney Markowitz) writes:
>
>LoadModule() returns a handle to the instance of the module that it
>creates, lets you specify a couple of things inthe second parameter,
>and can only be used to run a Windows app. WinExec() returns a value
>that is not documented, other than being greater than 31 if
 ^^^^^^^^^^^^^^^^^^^^^^
>successful, doesn't let you specify some things that LoadModule()
>does, and can be used to run both Windows and DOS apps.
>
The return value from WinExec() IS documented in the SDK book
"Reference - Volume 1", on page 4-459 under "Return Value" for
WinExec().

cheers - Paul Bonneau.
