crash with execution under msvc++

Antonio Montano antonio.montano@behemot.com
Sat Nov 8 22:46:00 GMT 2003


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/



More information about the Cygwin mailing list