Newsgroups: comp.windows.ms.programmer
Path: utzoo!utgpu!watserv1!watmath!hyper.hyper.com!bonneau
From: bonneau@hyper.hyper.com (Paul Bonneau)
Subject: Re: What causes an application execution error?
Message-ID: <1991Mar5.152231.12377@hyper.hyper.com>
Reply-To: bonneau@hyper.UUCP (Paul Bonneau,,)
Organization: HyperCube Inc.
References: <1991Mar4.190749.607@maytag.waterloo.edu>
Distribution: na
Date: Tue, 5 Mar 1991 15:22:31 GMT

In article <1991Mar4.190749.607@maytag.waterloo.edu> giguere@csg.waterloo.edu (Eric Giguere) writes:
>I've got an application that Windows doesn't want to run two or more times
>simultaneously.  As soon as I start one copy, trying to start a second
>copy always gives me an "Application Execution Error" saying that I
>can't run multiple copies.  Yet I've compiled with multiple data segments.
>And it's not even calling the WinMain procedure, so checking hPrevInstance
>doesn't do anything.... Any ideas as to what else could be wrong here?
>
Make sure you are compiling with the medium memory model
switch (/AM for Microsoft C).  You are only allowed one
instance of a large memory model (ie. fixed data segment)
application.

cheers - Paul Bonneau.
