简体   繁体   中英

VIX API Locale for non-Unicode programs Error

I use the VIX API 1.11 on the Windows OS and I have a problem with locale for non-Unicode programs.

When I try to call the VixHost_Connect() function to connect to VmWare Workstation Hypervisor, I have the error window on the screen with the message:

"File "C:\\Users\\\\AppData\\Roaming\\VmWare\\preferences.ini" line 2:

Value "VmWare Workstation" for variable "pref.eula.0.appName" is not valid in encoding "windows-1252". Unable to read user preferences (file in attached)

Does anybody know the solution?

--

Kind Regards, Alex Kolesnyk

在此输入图像描述

I have been faced the same problem, but I fixed it somehow. I just have opened the "C:\\Users\\\\AppData\\Roaming\\VmWare\\preferences.ini" in notepad, and changed the first line like below and the warning has been gone.

.encoding = "windows-1252"

->

.encoding = "UTF-8"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM