to clear up my last post, a Pointer does nothing more than point to an address in memory, naturally to use a new pointer, you would have to create a location in memory, something like this<br><br>int *myint;<br>myint = new int;<br>(just as easily int *myint = new int)<br><br>but in this case, you create a pointer<br><br>SYSTEM_INFO *temp; <br>right now the temp points to nothing and would naturally generate an error if you tried to use it, or would return a junk value if you tried to retrive it's address. but since the function GetSystemInfo(...) returns a Pointer address into temp, you do not need to create a new instance of System_info, instead the function changes, or assigns a new address in memory pointing to the newly created information, which makes pete's post helpful(for C's method), but irrelavent to this situation, and does not solve the current problem. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href=
</a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)