如果我嘗試使用LoadLibrary加載User32.dll中的函數返回錯誤14007(ERROR_SXS_KEY_NOT_FOUND)。這是我使用的代碼: SetLastError(0); //To make sure there are no previous errors.
HINSTANCE hUserModule = LoadLibrary(L"User32.dll");
if (h
我寫這樣的代碼來改變默認的打印機在窗口和正常工作,但在重裝INI文件有錯誤 這是一個代碼: Private Sub SetDefaultPrinter(ByVal PrinterName As String, ByVal DriverName As String, ByVal PrinterPort As String)
Dim DeviceLine As String
'r