Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Change the i to 0 in the lines:
aszNames = (char**)calloc(1, sizeof(char*)); aszNames[0] = (char*)calloc(PRO_NAME_SIZE, sizeof(char));ProWstringToString(aszNames[0], pro_unitSystem.name);
//Set the selected unit system
err = ProUIOptionmenuSelectednamesSet(szDlgName, "optUnits", 1, aszNames);free(aszNames[0]);
free(aszNames);
Greetings Lars