This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
crash with execution under msvc++
- From: Antonio Montano <antonio dot montano at behemot dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 08 Nov 2003 23:46:22 +0100
- Subject: crash with execution under msvc++
Hi all, I need to solve a pde under windows. So I got Cygwin with GSL
sources. Then I wrote a simple application under MSVC++ and the
compilation was fine. I add to project settings the following libs:
libgslcblas.a libgsl.dll.a libgslcblas.dll.a libpthread.a.
When I try to start the application I got an access violation with the
following stack trace:
0005ec90()
mainCRTStartup() line 129 + 6 bytes
KERNEL32! 77ea847c()
where the code in mainCRTStartup is
/*
* Get the full Win32 version
*/
_osver = GetVersion(); <-------------------------------
_winminor = (_osver >> 8) & 0x00FF ;
_winmajor = _osver & 0x00FF ;
_winver = (_winmajor << 8) + _winminor;
_osver = (_osver >> 16) & 0x00FFFF ;
I tried for hours to understand the problem but nothing ......
I'll appreciate any help. Thanks in advance.
Antonio
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/