Results 1 to 6 of 6

Thread: CreateProcess and Winoldap

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    67
    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?

  2. #2
    Hyperactive Member
    Join Date
    May 2000
    Location
    Or
    Posts
    316
    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    67
    Thanks reeset, but how does one know if it is a 16 or 32
    bit app?

  4. #4
    Hyperactive Member
    Join Date
    May 2000
    Location
    Or
    Posts
    316
    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.


  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    67
    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
  •  



Click Here to Expand Forum to Full Width