On Sat, 2007-06-23 at 12:35 +0300, Tor Lillqvist wrote: > Alan M. Evans writes: > > I created the minimal sample program, and it works! The working example > > is virtually copy/pasted out of the non-working code. > > That's so typical;) Could your problem then simply be caused by some > dynamic memory management bug or similar in the full program that > corrupts some data structures, maybe even GLib's own?
Well, I can't rule anything out yet, but I doubt it. It's just that I do embedded programming for a living; odd failure modes are familiar territory. But this one has me scratching my head. > > g_spawn_async_with_pipes(); > > WaitForSingleObject(); > > BTW, why do you use g_spawn_async_with_pipes() if you then immediately > wait for the process to finish? Wouldn't g_spawn_sync() be simpler? A sensible suggestion. In fact I probably would have arrived at that eventually. This was the first iteration, and I was using the async version somewhere else and just copied that block for this purpose. I'll try that now in hopes of getting the code rolling and off to the guy waiting for this functionality. Still, I think I'm going to produce a minimal program/DLL project and post a link when I get a chance. Hopefully you or someone else will be able to simply see where I went wrong and I can go sheepishly back to my hole. Thanks so much for your help, Tor! _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list