| 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 |
| To: | cygwin AT cygwin DOT com |
| From: | Patrick Rotsaert <patrick DOT rotsaert AT tts-online DOT be> |
| Subject: | Re: How to make DLLs in cygwin for MSVC and BCB |
| Date: | Thu, 23 Jun 2005 14:05:20 +0200 |
| Lines: | 12 |
| Message-ID: | <d9e863$bm8$1@sea.gmane.org> |
| References: | <d9bu24$aa1$1 AT sea DOT gmane DOT org> <42B9854D DOT DBC0BD AT dessent DOT net> <d9c2k1$q7v$1 AT sea DOT gmane DOT org> <1119461463 DOT 6224 DOT 11 DOT camel AT fulgurite> |
| Mime-Version: | 1.0 |
| User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
| In-Reply-To: | <1119461463.6224.11.camel@fulgurite> |
| X-IsSubscribed: | yes |
> you should do all your argv processing before calling > cygwin_dll_init(), because it will trash your argv and argc. Ok, but this was only a small test program to see if I manage to load cygwin1.dll functions. The plan is to do this in a DLL, later on. I guess cygwin_dll_init will then have to be called in DllMain, yes? But then, what happens when DllMain returns? The stack space will no longer exist. Thanks, Patrick. -- 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 |