| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <3FAD723E.8050806@behemot.com> |
| Date: | Sat, 08 Nov 2003 23:46:22 +0100 |
| From: | Antonio Montano <antonio DOT montano AT behemot DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 |
| X-Accept-Language: | en-us, en |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | crash with execution under msvc++ |
| X-AntiAbuse: | This header was added to track abuse, please include it with any abuse report |
| X-AntiAbuse: | Primary Hostname - mercury.lunarpages.com |
| X-AntiAbuse: | Original Domain - cygwin.com |
| X-AntiAbuse: | Originator/Caller UID/GID - [0 0] / [47 12] |
| X-AntiAbuse: | Sender Address Domain - behemot.com |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |