PDA

View Full Version : WinExec


Pattielli
May23-04, 01:26 AM
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.

faust9
May23-04, 02:25 AM
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

Pattielli
May23-04, 05:01 AM
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...