Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I was trying to set my preference with Ishell. However, the ISHELL_SetPrefs failed by returning 21 as result. It's EPRIVLEVEL.
Followed are the lines.

clsid = ISHELL_ActiveApplet(pMe->m_pIShell);

pMe->m_Prefs.dwPara = pMe->dwParam;

prf = ISHELL_SetPrefs(pMe->m_pIShell, clsid, GOLDGIS_PREFS_VERSION, &pMe->m_Prefs, sizeof(pMe->m_Prefs));

What shall I do to get around this?

check your mif file, "write access to shared directory"

check your mif file, "write access to shared directory"