src/plugin/win32/toolkit/common/JavaFX.cpp Usage of RegSetValueEx is wrong now - especially now that we are unicode. bRet = (RegSetValueEx(key, JFX_DISABLED_KEY, 0, REG_SZ, (LPBYTE)disableString, _tcslen(disableString)) == ERROR_SUCCESS); the last param is the number of bytes that needs to be written out. it needs to take into account of sizeof(TCHAR).
|