Why is it that when I use the GetCurrentHwProfile() I keep getting this error from my compiler. Incidentally, I am using Windows XP and the compiler is VS6.
error C2065: 'GetCurrentHwProfile' : undeclared identifier.
The same message also appears when I use the HW_PROFILE_INFO.
error C2065: 'HW_PROFILE_INFO' : undeclared identifier.
I have used the correct header files but still I keep getting the errors.
I then decided to declare both the structure and the function explicitly in the application and naturally enough the program compiled without any complaints but the output was pure gibberish.
What is happening and more importantly why?
Oh! yes, I did use the example in toto given by Microsoft with the same result.
0 · ·