Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Originating-IP: [195.16.40.77] From: "Max Kazakov" To: cygwin AT sources DOT redhat DOT 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: 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,_STL::allocator > & {...}) 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 AT sourceware DOT cygnus DOT com