This is the mail archive of the email@example.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
- To: "'firstname.lastname@example.org'" <email@example.com>
- Subject: Building DLL's
- From: Stu Fullmer <firstname.lastname@example.org>
- Date: Mon, 12 Apr 1999 17:11:39 -0700
I'm really new to the Cygnus tools and GCC, so please forgive anything silly
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.
Want to unsubscribe from this list?
Send a message to email@example.com