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
Message-ID: <3AE2F6E0.7EB9B5F5@lescher.de>
Date: Sun, 22 Apr 2001 17:21:04 +0200
From: Christian Lescher <christian@lescher.de>
X-Mailer: Mozilla 4.7 [de] (Win95; I)
X-Accept-Language: de
MIME-Version: 1.0
To: Robert Collins <robert.collins@itdomain.com.au>,
        "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>,
        "'Andrew Markebo'" <flognat@flognat.myip.org>,
        Troy Noble <troy.noble@channelpoint.com>
CC: Lescher Christian <christian.lescher@icn.siemens.de>, cygwin@cygwin.com
Subject: Re: AW: DLL function with string result?
References: <4.3.1.2.20010420103953.022a2700@pop.ma.ultranet.com> <4.3.1.2.20010420122559.0224b5f0@pop.ma.ultranet.com> <3AE07C0B.928C7680@lescher.de> <00d801c0c9ee$5ebc44d0$0200a8c0@lifelesswks>
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit

With your help and some more testing, finally I found out that the reason
for the access violation error was a stack overflow while preparing the
result string. With strdup everything is alright, also for strings > 64 KB.

Thanks again!

Christian





--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

