Hi All, Windows 11 pro 22H2
The following is a test example of the use of pointers for calling Windows DLL's and for copying data out of structures when given a pointer to the structure. Before you tell me there is an easier way to get the computer name out of "GetComputerNameA," this is to show the use of pointers and to specifically test "memcpy_s". https://pastebin.com/ni3J5hvD HTH someone else -T -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Computers are like air conditioners. They malfunction when you open windows ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~