3
Answers

Convert to C# code from Vb.Net

r_keya

r_keya

20y
2.6k
1
I have this function in Vb.net. Public Function GMString(ByVal strPtr As GMWStr) As String Dim strlen As Integer Dim strBuf() As String strlen = lstrlen(strPtr.Ptr) If strlen = 0 Then Exit Function ReDim strBuf(strlen - 1) CopyMemory(strBuf(0), strPtr.Ptr, UBound(strBuf) + 1) GMString = StrConv(strBuf(0), VbStrConv.None) End Function I need to know what the code will be in C#. TIA -- Keya Roychoudhury Developer Integration Wizard www.integrationwizard.com
Answers (3)