PB 調用 Driver.dll 中 execute() 函數,但 execute 為 PB 保留字,無法直接宣告。
FUNCTION integer executeABC(string devtype, string serialport, int baudrate, ref string pszRcCode)
LIBRARY "Driver.dll"
ALIAS FOR "execute"
executeABC(...)。execute。open、close 雖為 PB 內建函數,但非保留字,可直接宣告同名外部函數。_execute@16),需用 extern "C" 或 .def 檔匯出純名稱。