Calling a winelib program (wcmd) from inside wine with arguments

Alexandre Julliard julliard at
Wed Jul 24 19:11:59 CDT 2002

Uwe Bonnes <bon at> writes:

> how do I call a winelib programm with arguments from inside wine. I tried
> several appoaches in a first hack for Batch file support in wine, but I
> didn't succeed. It seemed that either the winelib programm insisted on the
> "--" divider or it tried to interpret it. 

You must not add "--" when starting it inside Wine. Just build a
normal command line and pass it to CreateProcess.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list