Stupid stupid question :/
A. Phillip Smith
asmith@www.aeinc.com
Fri Mar 21 14:30:00 GMT 1997
Actually, ignoring the spawn/CreateProcess problems, the
use of gnu-win32 to build even vanilla Win32 programs is
limited. I was unable to get windows subsystem programs to
execute by just adding a simple call to 'WritePrivateProfileSection'
in a callback function to update a .CFG file.
Removing that simple statement allows the GUI program to execute,
while adding it causes it to die silently. Note that the problem has
to do with code generation or environment, since it is invoked in
the callback, it should only cause runtime troubles when it is
actually executed. As things stand, the application window is
never generated when that 1 line is added.
Phil
>
> >Linking applications with --Wl,subsystem,windows is easy, but
> >with the fork-exec problems, how do you spawn a child process ?
> >The system command works, but it triggers the pop-up window, I assume
> >there would have to be a windows version of bash built, since those
> >commands are run from a shell ...
>
> Well, actualy Iôm not trying to solve those caveats.I use gnu-win32 to develop
> Windows applications, and by itself its very dificult. In my humble opinion, in
> the
> state-of-the-art of the projet, you can develop UNIX-like programs or
> WIN32 programs, but convining both...
>
> Ismael Jurado <ismaelj@hotmail.com>
>
> ---------------------------------------------------------
> Get Your *Web-Based* Free Email at http://www.hotmail.com
> ---------------------------------------------------------
>
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list