SmileeTiger
Programmer
HI,<br><br>I am trying to use the GetSystemInfo API call. When I run the following code I get a 'memory cannot be written' error. I know it is something simple but can anyone see what is wrong with this code?<br><br>#include <windows.h><br><br>void main()<br>{<br>LPSYSTEM_INFO temp;<br>GetSystemInfo(temp );<br>}<br><br>That's it. It shoudl be a simple call but I am missing something here.<br><br>Cory