GetPhysicallyInstalledSystemMemory(TotalMemoryInKilobytes); funtion call throws the above mentioned exception
GetPhysicallyInstalledSystemMemory(TotalMemoryInKilobytes); funtion call throws the above mentioned exception
Show a code snippet from where you define TotalMemoryInKilobytes.
I'd guess you've got an uninitialised pointer.
Thanks David for the reply, I do have an unitialized variable, can u help me with the code
.
PULONGLONG TotalMemoryInKilobytes;
GetPhysicallyInstalledSystemMemory(TotalMemoryInKilobytes);
Correct form:
ULONGLONG TotalMemoryInKilobytes;
GetPhysicallyInstalledSystemMemory(&TotalMemoryInKilobytes);
Thanks David, can u pls tell me how to use GetProductInfo() method also ??
Create a new question. If you include sufficient information on what your problem is, and show what code you've tried, I'm sure someone will try to help you.
9 people are following this question.