Launching a cygwin binary from an application using CreateProcess Win32 API.

Alireza Ghasemi ali.foolad@gmail.com
Thu Jun 9 08:11:00 GMT 2005


Venaktesh Goapal wrote
> Hi,
>
> I tried what is mentioned in the subject above but
> have not been successful.
>
> CreateProcess(...) returns the error 1305.
>
> From Winerror.h
>
> #define ERROR_UNKNOWN_REVISION           1305L
>
> Has someone tried this, or know the reason for the
> error.
>
> Thanks,
> Venkatesh.
I think Christopher is right.Use ShellExecute() WinExec or (if you use C)
_spawn... and _exec....They get less parameters and do the same work foe
simple processes.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list