Hi, if you could help me a little.
Im trying to make it work on win98, but cant seem to figure this one out.
User env variables are not being set, because in minihwc.c, function getRegPath() return null when checked in function hwcGetenv.
if (regPath == NULL) {
regPath = getRegPath();
if (regPath == NULL){
return NULL;
}
Works fine for winXp. Works if built with DEBUG=1 parameter in win98.
I can hardcode the return string
CM_Get_DevNode_Key( QDevNode.dwDevNode, NULL,
strval, sizeof(strval),
CM_REGISTRY_SOFTWARE );
//strcat(strval, "\\glide");
retVal = "SYSTEM\\CurrentControlSet\\Services\\Class\\Display\\0000\\glide";
Ofc that works, but its not really a solution :).
Hi, if you could help me a little.
Im trying to make it work on win98, but cant seem to figure this one out.
User env variables are not being set, because in minihwc.c, function getRegPath() return null when checked in function hwcGetenv.
if (regPath == NULL) {
regPath = getRegPath();
Works fine for winXp. Works if built with DEBUG=1 parameter in win98.
I can hardcode the return string
CM_Get_DevNode_Key( QDevNode.dwDevNode, NULL,
strval, sizeof(strval),
CM_REGISTRY_SOFTWARE );
Ofc that works, but its not really a solution :).