|
-
Aug 1st, 2000, 03:26 PM
#1
Thread Starter
Lively Member
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?
-
Aug 1st, 2000, 05:25 PM
#2
Hyperactive Member
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.../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.
-
Aug 1st, 2000, 05:44 PM
#3
Thread Starter
Lively Member
Thanks reeset, but how does one know if it is a 16 or 32
bit app?
-
Aug 1st, 2000, 06:31 PM
#4
Hyperactive Member
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.
-
Aug 2nd, 2000, 01:55 PM
#5
Monday Morning Lunatic
QuickView (supplied with windows) tells you.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 5th, 2000, 09:49 AM
#6
Thread Starter
Lively Member
So why does CreateProcess not work on Win 95/98?
It works fine on NT and 2000.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|