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://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Date: | Mon, 21 Jun 2004 20:00:59 +0400 |
From: | 3APA3A <3APA3A AT SECURITY DOT NNOV DOT RU> |
Reply-To: | 3APA3A <3APA3A AT SECURITY DOT NNOV DOT RU> |
Organization: | http://www.security.nnov.ru |
Message-ID: | <1626130083.20040621200059@SECURITY.NNOV.RU> |
To: | Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re[2]: Compiling DLLs to be used from native Win32 application |
In-Reply-To: | <Pine.GSO.4.58.0406211131391.3356@slinky.cs.nyu.edu> |
References: | <419004530 DOT 20040621185653 AT SECURITY DOT NNOV DOT RU> <Pine DOT GSO DOT 4 DOT 58 DOT 0406211131391 DOT 3356 AT slinky DOT cs DOT nyu DOT edu> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Note-from-DJ: | This may be spam |
Dear Igor Pechtchanski, --Monday, June 21, 2004, 7:34:33 PM, you wrote to 3APA3A AT SECURITY DOT NNOV DOT RU: >> >> 1. I did DLL, it works fine with cygwin application. >> 2. If I try to use it from native application it hangs on LoadLibrary. >> 3. I did DllMain function with impure_ptr initialization and finally >> compiled as described in FAQ. >> 4. Now DLL loads and simple functions (for example strcpy()/ctrcat() >> based) work OK, but any "syscall" from DLL to cygwin function (for >> example printf()) causes NULL pointer reference. >> >> Is subj possible? May be some additional initialization is required? IP> Does <http://cygwin.com/ml/cygwin/2004-06/msg00274.html> help? No. I do not want to compile application with cygwin1.dll. I want to load library dynamically. But I'll look into crt code anyway. -- ~/ZARAZA Человек это тайна... я занимаюсь этой тайной чтобы быть человеком. (Достоевский) -- 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 |