From: Bob R. <bob...@co...> - 2006-12-11 20:44:23
|
On Tue, Dec 12, 2006 at 05:36:16AM +0900, Earl Kinmonth wrote: > I have a usb device that accepts four different types of memory cards. > When this device is connected, it is assigned four different drive > letters whether or not there is a card in the associated slot. If a > programme compiled with msys/mingw addresses an empty slot, instead of > an error code being returned by the calling function (fread, fopen, etc.), > a console window pops up. > > While I have a resident programme that automatically answers these > console windows in a way that closes them and allows my programme to > proceed, it would be better to not have them pop up in the first place. > > I vaguely remember reading a MS note about how to do this, but I have > subsequently been unable to find it. > > Can anyone help? Does this help? http://www.mingw.org/mingwfaq.shtml#faq-ridconsole Bob Rossi |