| 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 |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: How to make DLLs in cygwin for MSVC and BCB |
| Date: | Thu, 23 Jun 2005 18:18:50 +0100 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <1119546955.6224.17.camel@fulgurite> |
| Message-ID: | <SERRANOt0Y57FCulKtR000001a1@SERRANO.CAM.ARTIMI.COM> |
----Original Message----
>From: Max Kaehn
>Sent: 23 June 2005 18:16
> You'll need to find some way to arrange that the 4K is available at
> the bottom of the stack of your main thread for as long as you have
> cygwin1.dll loaded.
> ---
> extern "C" int mainCRTStartup ();
>
> extern "C" int __stdcall
> cygwinFriendlyCRTStartup ()
> {
> char buf[4096];
> return mainCRTStartup ();
> }
> ---
Sorry, but why isn't that 4k at the *TOP* of the stack? It sure looks
that way to me, unless cygwin stacks grow upward!
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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 |