FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour CreateProcess vs. WINEXEC
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
CreateProcess vs. WINEXEC
Posted: Wed Feb 17, 2010 08:18 AM

I read on msdn that:

WinExec Function
Runs the specified application.
Note This function is provided only for compatibility with 16-bit Windows. Applications should use the CreateProcess function.

Do we have to change the WINEXEC calls to CreateProcess?

Thanks in advance
Otto

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: CreateProcess vs. WINEXEC
Posted: Wed Feb 17, 2010 10:12 AM

Otto,

You can safely use any of them. CreateProcess() gives you more control to perform extra tasks.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion