This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Segfault when call kernel32 function


Jamie Guinan <guinan@bluebutton.com> writes:
> 
> I did some searching on microsoft.com, and it looks like MSVC 6 did 
> in fact start putting const stuff in read-only memory,
> 
>   http://support.microsoft.com/support/kb/articles/Q201/3/72.ASP
> 

Thanks. This is good to know -- now I can run some tests.

> But the popular reference for Win32 serial programming where I
> first found BuildCommDCB is from 1995, pre-MSVC 6,
> 
>   http://msdn.microsoft.com/library/techart/msdn_serial.htm

Hmmm ... I should do a quick search. Thanks to Microsoft's Platform
group, I have MSDN CDs.

> I emailed them about this potential source of confusion, but I'm 
> not holding my breath. :)

And of course, it could just be due to a bug somewhere either in the
runtime headers/import-libraries or GCC itself. However, since we can't
look at the sources for Windows API, we'll just have to settle for
blaming the underlying API for whatever problems we run into ;-)

Regards,
Mumit


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]