Getting null terminated str from it's address 
Author Message
 Getting null terminated str from it's address

Hi,

I have an API that return to me an address of a null terminated string
address
how can i get it's value ( somm address function)

--
Best Regards
Oz Renzer



Mon, 03 Feb 2003 03:00:00 GMT  
 Getting null terminated str from it's address
Private Declare Sub CopyPtrToStr Lib "Kernel32" Alias "lstrcpy" (ByVal Dest
As String, ByVal Source As Long)

Make sure your string is initialized and large enough.

Alex

oz schrieb in Nachricht ...

Quote:
>Hi,

>I have an API that return to me an address of a null terminated string
>address
>how can i get it's value ( somm address function)

>--
>Best Regards
>Oz Renzer



Tue, 04 Feb 2003 08:06:22 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Getting a machine's MAC address given a NETBIOS machine name or IP address

2. Beginner: str and str$ functions

3. str( ) and str$( ). What is the real difference

4. Int to Str or Str to Int ??

5. Convert Int to Str & Str to Int

6. vba Getting sender's email address

7. Getting the sender's address

8. Getting Sender's _Address_ from MailItem

9. Getting the screen's address (BLOAD)

10. outlook 2000 - getting a mail's mail address

11. Help calling DLL with Null terminated strings

12. Date, Trim, STR Functions Don't Work

 

 
Powered by phpBB® Forum Software