Segfault when call kernel32 function

Jamie Guinan guinan@bluebutton.com
Mon Jan 10 14:00:00 GMT 2000


Ah! Got it working now. When I first tried your suggestion I 
mistakenly used
 static const char mode_str[128] = "9600,N,8,1";
 ^^^^^
instead of 
 static char mode_str[128] = "9600,N,8,1";
which must have put it in the wrong section. The latter
method seems to work fine.
-Jamie
On Sun, 9 Jan 2000, Mumit Khan wrote:
> Jamie Guinan <guinan@bluebutton.com> writes:
> > 
> > I tried it both 1 and 2 and still got the same error. If you have a
> > minute, maybe you could try a little test program with BuildCommDCB() 
> > and see if it breaks or if its just me. I'd appreciate knowing one 
> > way or the other.
>> Sure, if you send me a testprogram. I tried your testcase that you had
> posted earlier, and I'll retry that later on just to make sure that it
> indeed works.
>> Regards,
> Mumit

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /