0xFEFEFEFE: Access violation writing location

Anonymous
2021-04-15T10:58:32.327+00:00

GetPhysicallyInstalledSystemMemory(TotalMemoryInKilobytes); funtion call throws the above mentioned exception

Developer technologies | Visual Studio | Debugging
Developer technologies | C++
{count} votes

Accepted answer
  1. David Lowndes 4,726 Reputation points
    2021-04-15T11:09:54.88+00:00

    Correct form:

    ULONGLONG TotalMemoryInKilobytes;
    GetPhysicallyInstalledSystemMemory(&TotalMemoryInKilobytes);
    

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.