Click to See Complete Forum and Search --> : CreateProcess and Winoldap
rathtap
Aug 1st, 2000, 03:26 PM
Hi,
I am calling a DOS based app with CreateProcess.
It works great on my NT4.0 machine. But when I run it
on Win95/98,a blank MSDOS screen comes up and the program hangs. Task mgr says : "winoldap(not responding".
So I guess my question is, what is different with how we use
CreateProcess between NT and 95/98?
reeset
Aug 1st, 2000, 05:25 PM
You can take a look at this url from the MS knowledge base on the differences of using CreateProcess when calling a 16 bit app in Win95 and Win NT
http://support.microsoft.com/support/kb/articles/Q175/9/86.ASP
However, you should also know that Microsoft discourages the use of the CreateProcess API, recommending instead that current 32 bit apps use the ShellExecute API which is supported by both Win9x and NT kernals.
Anyway, hope this helps.
rathtap
Aug 1st, 2000, 05:44 PM
Thanks reeset, but how does one know if it is a 16 or 32
bit app?
reeset
Aug 1st, 2000, 06:31 PM
If it was created for or on Win 3.1 then it is a 16 bit app. (so if it is older then 1995, good bet it is a 16 bit). Otherwise, I don't really know. Maybe someone else can tell you how to get that info.
parksie
Aug 2nd, 2000, 01:55 PM
QuickView (supplied with windows) tells you.
rathtap
Aug 5th, 2000, 09:49 AM
So why does CreateProcess not work on Win 95/98?
It works fine on NT and 2000.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.