From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ea1e07b93fdbcb85,start X-Google-Attributes: gid103376,public From: Randy Fontan Subject: Spawning a 32 bit app Date: 1996/08/28 Message-ID: <3224BA5D.365C@ex1.wes.army.mil>#1/1 X-Deja-AN: 177224898 content-type: text/plain; charset=us-ascii organization: Waterways Experiment Station mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.02Gold (WinNT; I) Date: 1996-08-28T00:00:00+00:00 List-Id: Hello, I'm currently working on a fairly large app (120000+ lines of code) which is written in Ada (Rational Vads NT Compiler v6.2.1(e)) which is a client/server application. It talks to an Oracle and Access database. This is my problem... This application allows for the interfacing (via Microsoft MPX file format) with several NAS (Network Analysis System ie:Microsoft Project) packages. There is a user menu choice that builds the mpx file and then uses the CreateProcess function call to spawn the appropriate NAS package. After the CreateProcess, there is a WaitForSingleObject function call that waits until the NAS package has been exited (functional requirements called for this asyncronous relationship). At this point, my application reads in the mpx file and updates the access mdb. Spawning 16 bit NAS packages works fine. But when I spawn a 32 bit NAS app like Microsoft Project for Windows95, it spawns ok but when I exit MSProject, the process just hangs up and the only way out is to quit the task in the task manager. All 32 bit apps spawned under my application behave this way. Just as a test, I've created a little hacked test which spawns a 32 bit app and waits (maybe 20 lines of code) and it behaves normally (on NT 3.51 and 95). I've tried adjusting the runtime stack in my large application and everyting else I can think of. I've tried spawning the 32 bit app everyway I can think of (different parameters) with no luck. I've talked with Rational and they haven't a clue as to what the problem may be. This problem behaves the same under Windows NT (I'm using 3.51) and Windows 95. If anyone out there has any ideas, I would really appreciate you dropping me a line as I'm up against the wall on this one. Thanks Randy fontanm@ex1.wes.army.mil