關于紅色lt_msg_send_clt 的部分
c#里沒見過這種用法啊。。。。orz請問,在c#里該怎么實現段代碼 - =
Private Declare Function lt_msg_enter_clt Lib "ltws32.dll" (ByVal Host As String, ByVal Service As String, ByVal program As String, ByRef error_no As Integer) As Integer Public Function CF_send(ByVal Buf As String, ByVal Buf_len As Short) As Short error_no = lt_msg_send_clt(m_handle, Buf, CInt(Buf_len)) If error_no <> 0 Then CS_GetWinSockERR() End If CF_send = CShort(error_no) End Function
?c#改寫vb中,vb完全不會 (┬_┬)
麻煩大家幫幫忙,謝謝了。。。
- 1 回答
- 0 關注
- 638 瀏覽
添加回答
舉報
0/150
提交
取消