delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/22/12:36:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AE2F6E0.7EB9B5F5@lescher.de>
Date: Sun, 22 Apr 2001 17:21:04 +0200
From: Christian Lescher <christian AT lescher DOT de>
X-Mailer: Mozilla 4.7 [de] (Win95; I)
X-Accept-Language: de
MIME-Version: 1.0
To: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>,
"Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>,
"'Andrew Markebo'" <flognat AT flognat DOT myip DOT org>,
Troy Noble <troy DOT noble AT channelpoint DOT com>
CC: Lescher Christian <christian DOT lescher AT icn DOT siemens DOT de>, cygwin AT cygwin DOT com
Subject: Re: AW: DLL function with string result?
References: <4 DOT 3 DOT 1 DOT 2 DOT 20010420103953 DOT 022a2700 AT pop DOT ma DOT ultranet DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20010420122559 DOT 0224b5f0 AT pop DOT ma DOT ultranet DOT com> <3AE07C0B DOT 928C7680 AT lescher DOT de> <00d801c0c9ee$5ebc44d0$0200a8c0 AT lifelesswks>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019