修改源碼: 找到 CreateFile, 修改第一個參數為: \\XXX\, 而不是直接用XXX XXX應該是 ComName 之類的名稱解釋如下:lpFileName [in] Pointer to a null-terminated string that specifies the name of the object to create or open. In the ANSI version of this function, the name is limited to MAX_PATH characters. To extend this limit to 32,767 wide characters, call the Unicode version of the function and prepend "\\?\" to the path. For more information, see Naming a File.
找到 CreateFile, 修改第一個參數為: \\XXX\, 而不是直接用XXX
XXX應該是 ComName 之類的名稱解釋如下:lpFileName
[in] Pointer to a null-terminated string that specifies the name of the object to create or open.
In the ANSI version of this function, the name is limited to MAX_PATH characters. To extend this limit to 32,767 wide characters, call the Unicode version of the function and prepend "\\?\" to the path. For more information, see Naming a File.