/*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:
I am using this to compile to .a is it right as dlltools syntax is a bit cryptic?:
[Linker error] undefined reference to `PdhEnumObjectItemsA@36'
I have also tried using -l and -e to no avail. Hope this is an easier question to answer.*/
bin\dlltool -l lib\libpdh.a lib\pdh.lib lib\pdh.def
Now, why does Dev-C++ not like this:
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...
//Gives: 584 `INITCOMMONCONTROLSEX' undeclared (first use in this function) and syntax error before "cc"