看板 Visual_Basic 關於我們 聯絡資訊
請問我有一個函式如下: int32 HID_API_TI_EXPORT_CALL TI_Adapter_read_Word(Uint8 in_dev_addr, Uint8 in_command_code, Uint16 * out_data, Uint8 * out_pec); 我在程式裡面宣告成如下: Private Declare Function TI_Adapter_read_Byte Lib _ "D:\CP_I2C.dll" _ (ByVal in_dev_addr As Integer, _ ByVal in_command_code As Integer, _ ByRef out_data As String, _ ByRef out_pec As String) _ As Integer 但編譯是錯誤的,告知型態不符合,請問一下該如何修正?謝謝。 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.216.85.241 ※ 文章網址: https://www.ptt.cc/bbs/Visual_Basic/M.1540369278.A.959.html