Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to use winexec

  1. May 23, 2004 #1
    Can you tell me how to use it correctly ?
    can you please give me a piece of code to clearify what you mean ???

    Thank you very much.
  2. jcsd
  3. May 23, 2004 #2
    Don't use it unless you absolutely positevly have to. It's function for accessing older 16-bit programs.

    Here, if you're going to fiddle with windows programming then you should get acquanted with MSDN http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/winexec.asp [Broken]
    Last edited by a moderator: May 1, 2017
  4. May 23, 2004 #3
    Oh, thank you very much, tat means i should use CreateProcess instead of Winexec, ????
    I am trying to turn off the "activeness" of some processes that are running by using Winexec, I am still new to this, really. I honestly didn't know about its drawbacks when compared to CreateProcess....I learn new things from you, faust9.
    Again, Thank you very much...
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook