TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
r_keya
NA
9
0
Convert to C# code from Vb.Net
Sep 15 2004 11:38 AM
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
Reply
Answers (
3
)
marshal unsigned cahr pointer
Convert the following code to C# from Vb.Net