new_learner0
Member
- Joined
- May 3, 2011
- Messages
- 7
- Programming Experience
- Beginner
Hi All,
I am trying to convert a code from C to VB.NET.
I have a function with the following declaration -
I am trying to convert a code from C to VB.NET.
I have a function with the following declaration -
I am calling the function as follows -Declare Function GetMappedFileName Lib "psapi" (ByVal hProcess As IntPtr, ByVal lpv As IntPtr, <Out()> ByRef lpFilename As String, ByVal nSize As Long) As Long
where MappedFile is declared as -GetMappedFileName(handle, Address, MappedFile, Marshal.SizeOf(MappedFile))
MappedFile does not return anything. Any help will be appreciated.Dim MappedFile As String = ""