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++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
{count} votes

Answer accepted by question author
  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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.