delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-Id: | <199904130051.TAA20257@modi.xraylith.wisc.edu> |
X-Authentication-Warning: | modi.xraylith.wisc.edu: localhost.xraylith.wisc.edu [127.0.0.1] didn't use HELO protocol |
To: | Stu Fullmer <sfullmer AT wwg DOT com> |
cc: | "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Re: Building DLL's |
In-reply-to: | Your message of "Mon, 12 Apr 1999 17:11:39 PDT." |
<E94737192F19D2118CC200A0C90648CF88A59A AT spawn DOT wwg DOT com> | |
Date: | Mon, 12 Apr 1999 19:51:15 -0500 |
From: | Mumit Khan <khan AT xraylith DOT wisc DOT EDU> |
Stu Fullmer <sfullmer AT wwg DOT com> writes: > I'm trying to build a DLL that can pass back constant strings. The first > thing I did was to create a small test > DLL to see if I can get it to work. I feel like I'm really close, but I > still can't quite get it. Here is the deal. My > example DLL has functions that pass back pointers to char streams (which are > constant). I then try to print > this string in my test app using cout. > When the string goes to print it's garbage. However, my other functions work > fine. Any ideas. Thanks. Please provide your small testcase so we can help. In the meantime, you may want to get the dllhelpers package that has a few examples of building DLLs for Cygwin. See http://www.xraylith.wisc.edu/~khan/software/gnu-win32/dllhelpers.html for more info. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |