comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@escmail.orl.mmc.com>
Subject: Re: Spawning a 32 bit app
Date: 1996/08/30
Date: 1996-08-30T00:00:00+00:00	[thread overview]
Message-ID: <32271943.41C67EA6@escmail.orl.mmc.com> (raw)
In-Reply-To: 3224BA5D.365C@ex1.wes.army.mil


Randy Fontan wrote:
> 
> 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.

> 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

This PROBABLY isn't it, but just out of curiosity, is your parent library "self" or "self_thr"?
"self" puts all your tasks in one thread, while "self_thr" puts each task in its own thread. If
you try to perform thread operations (like WaitForSingleObject) using "self", your whole program
will freeze, not just the calling task. For some (stupid) reason, "self" is the default.

I had to find this out the hard way.
 :-(

-- 
T.E.D.          
                |  Work - mailto:dennison@escmail.orl.mmc.com  |
                |  Home - mailto:dennison@iag.net              |
                |  URL  - http://www.iag.net/~dennison         |




      reply	other threads:[~1996-08-30  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-28  0:00 Spawning a 32 bit app Randy Fontan
1996-08-30  0:00 ` Ted Dennison [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox