/*Don't worry I found the file on the same site.
I found a .def file for pdh (googled pdh.def which took me so long to think of), I tried compiling it with dlltool but it returns:
Code:
[Linker error] undefined reference to `PdhEnumObjectItemsA@36'
I am using this to compile to .a is it right as dlltools syntax is a bit cryptic?:
Code:
bin\dlltool -l lib\libpdh.a lib\pdh.lib lib\pdh.def
I have also tried using -l and -e to no avail. Hope this is an easier question to answer.*/
Now, why does Dev-C++ not like this:
Code:
INITCOMMONCONTROLSEX cc;
//Gives: 584 `INITCOMMONCONTROLSEX' undeclared (first use in this function) and syntax error before "cc"
This program did compile in lcc-Win32, but I want to debug it in Dev-Cpp, to fix some memory and refreshing error. Try and find out why each time the LV refreshes it uses more & more memory...