Variable length strings to DLLs 
Author Message
 Variable length strings to DLLs


Quote:
>Declare Function UCaseStr Lib "c:\test.dll" (pstrInValue As String) As String

Try:

Declare Function UCaseStr Lib "c:\test.dll" (ByVal pstrInValue As String)
As String

Quote:
>    lstrInput = Trim$(Text1.Text) & Chr$(0)

lstrInput = Trim$(Text1.Text) ' and no Chr$(0)


--
Newbiehood is not a period of time, it's a way of life.

http://www.*-*-*.com/ ~balchen/
ftp://ftp.sn.no/user/balchen/



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. how to use strings/arrays of variable length?

2. How do I store variable length data?

3. Pointers and Variable Length Records

4. Variable length argument list procedure?

5. variable length args

6. Variable Length Records - BLOB?

7. variable length parameter

8. Passing variable length structures

9. Variable length record contents?

10. Null-length strings in MSAccess

11. Beginners question....length of string.

12. DOS's GetEnv returned string length problem

 

 
Powered by phpBB® Forum Software