if i call GetPerformanceInfo
directly out from the psapi.dll it returnswhats wrong?Code:error 24, The Programm puts out an Command but the Command length is wrong!
#### Just for additional information
the Performance struct is defined!!
it loads well there is no probolem Loading the Function!!Code:HANDLE PSAPI; PSAPI=LoadLibrary("PSAPI.DLL"); if(!PSAPI){ ErrorExit("<EF> LoadLibrary"); } GetPerformanceInfo=(GetPerformanceInfoPtr)GetProcAddress(PSAPI,"GetPerformanceInfo"); if(!GetPerformanceInfo){ ErrorExit("<EF> Cant do GetPerformanceInfo [psapi.dll]!\n"); }



LinkBack URL
About LinkBacks


