首页 新闻 会员 周边 捐助

vb6.0 翻译为C#.net

0
悬赏园豆:5 [已解决问题] 解决于 2010-10-05 17:23

翻译以下的引用语句.

Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByVal pDest As Long, ByVal pSrc As Long, ByVal ByteLen As Long)
Private Declare Function IsBadStringPtr Lib "kernel32" Alias "IsBadStringPtrA" (ByVal lpsz As Long, ByVal ucchMax As Long) As Long
Private Declare Function lstrcpy Lib "kernel32" Alias "lstrcpyA" (ByVal lpStringDest As String, ByVal lpStringSrc As Long) As Long
Private Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (ByVal lpString As Long) As Long

火地晋的主页 火地晋 | 初学一级 | 园豆:106
提问于:2010-10-03 01:29
< >
分享
最佳答案
0

建议上那个 www.pInvoke.net上查询你以上的那个几个函数的.net调用。

收获园豆:5
mywork | 菜鸟二级 |园豆:475 | 2010-10-03 16:26
正所谓授人以鱼不如授人以渔。 感谢mywork的回答.
火地晋 | 园豆:106 (初学一级) | 2010-10-05 17:23
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册