- Joined
- Dec 10, 2005
- Messages
- 3
- Reaction score
- 0
hi
i have a structure from unmanaged code that have two member
for a string value inside structure buffer (stringOffset, stringSize)
i have convert my structure to an IntPtr value with Marshal.StructureToPtr.
now , i want extract string value inside structure buffer , i must use
Marshal.PtrToString method but there is a problem.
how i can forward IntPtr value to string value offset ?
is there any way to change offset of an IntPtr value ?
thanks
i have a structure from unmanaged code that have two member
for a string value inside structure buffer (stringOffset, stringSize)
i have convert my structure to an IntPtr value with Marshal.StructureToPtr.
now , i want extract string value inside structure buffer , i must use
Marshal.PtrToString method but there is a problem.
how i can forward IntPtr value to string value offset ?
is there any way to change offset of an IntPtr value ?
thanks