|
-
April 9th, 1999, 07:22 AM
#1
passing allocated string from a DLL to an application.
I have a function in my DLL that takes two arguments: a null terminated string and the length of this null-terminated string. If the length of the
string is zero then i allocate memory for this null-terminated string and copy to it some information. The problem that i face is that each time
i allocate memory from the DLL, copy to it and pass it back to the application then the string from the application side contains rubbish.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|