delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Date: | Mon, 10 Jan 2000 16:57:14 -0500 (EST) |
From: | Jamie Guinan <guinan AT bluebutton DOT com> |
X-Sender: | guinan AT gemini DOT home DOT net |
Reply-To: | guinan AT bluebutton DOT com |
To: | Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU> |
cc: | Cygwin Mailing List <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Re: Segfault when call kernel32 function |
In-Reply-To: | <200001092243.QAA18368@hp2.xraylith.wisc.edu> |
Message-ID: | <Pine.LNX.4.10.10001101654210.844-100000@gemini.home.net> |
MIME-Version: | 1.0 |
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 AT bluebutton DOT 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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |