Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Originating-IP: [195.16.40.77]
From: "Max Kazakov" <max_kazakov@hotmail.com>
To: cygwin@sources.redhat.com
Subject: Call from VC++ application into cygwin-compiled dll crashes in NTDLL.DLL
Date: Thu, 02 Nov 2000 16:23:44 GMT
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <LAW-F163VGeSJIEoPXC0000461c@hotmail.com>
X-OriginalArrivalTime: 02 Nov 2000 16:23:45.0016 (UTC) FILETIME=[457B6F80:01C044E9]

Hi all,

I trying to call some function in cygwin-compiled dll from VC++ app. This 
function in turn call socket() that leads to an AV in NTDLL.DLL (see stack 
below). PLease note that HFSDKPROXY is the cygwin-compiled dll dynamically 
loaded in runtime. Dll was prepared using the recipes from 
http://sources.redhat.com/cygwin/building-reloc-dlls.txt. If someone knows 
possible cause for this or even some way to cure/workaround this please help 
me.

BR

  Max

NTDLL! RtlpWaitForCriticalSection + 96 bytes
NTDLL! ZwAllocateVirtualMemory + 20 bytes
CYGWIN1! socket + 31 bytes
HFSDKPROXY! hfOpenServer + 20 bytes
HFInterpreter::parse(const 
_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > & 
{...}) line 37 + 19 bytes
CMainApp::parseString() line 210
CMainApp::init(Tcl_Interp * 0x001524c4) line 37
MAMVRS_TK! RImage::RImage(class RImage const &) + 22567 bytes
main(int 0x00000002, char * * 0x022213a0) line 9
mainCRTStartup() line 206 + 25 bytes
KERNEL32! GetCommandLineW + 2345 bytes

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


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

