Get API results
Posted on 2001-06-04
API call s return a long datatype. The probleem I'm having is I need the other information it is actuly calling.
Private Declare Function GetFullPathName Lib "kernel32" Alias "GetFullPathNameA" (ByVal lpFileName As String, ByVal nBufferLength As Long, ByVal lpBuffer As String, ByVal lpFilePart As String) As Long
I need the FullPathName and all I receive is a Long Datatype. A'm I missing something really simple or is the Long datatype returned a pointer to the string. If it is a pointer, how do I get the string it's pointing to?