| delorie.com/archives/browse.cgi | search |
| From: | mellon AT fugue DOT com (Ted Lemon) |
| Subject: | Re: Calling cygwin.dll functions from Visual Basic |
| 18 Dec 1996 09:55:21 -0800 : | |
| Sender: | daemon AT cygnus DOT com |
| Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
| Distribution: | cygnus |
| Message-ID: | <199612181642.IAA09359.cygnus.gnu-win32@toccata.fugue.com> |
| Original-To: | crispen AT hiwaay DOT net |
| Original-cc: | gnu-win32 AT cygnus DOT com |
| In-reply-to: | Your message of "Tue, 17 Dec 1996 18:38:19 CST." |
| <32B73CFB DOT 3D92 AT hiwaay DOT net> | |
| Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
It's somewhat embarrassing to be able to answer this question, but... Make sure that the string into which you are copying has enough space. Also, I found that I needed to declare an alias with the munged WINAPI name (in your case, this would be strcpy AT 8). Also, you probably *don't* want to use the return value of strcpy, at least not as a string. _MelloN_ - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |