STRING *comp; void getComputerName() { char buffer[MAX_COMPUTERNAME_LENGTH + 1]; long size = MAX_COMPUTERNAME_LENGTH + 1; memset(buffer, 0, size); if(GetComputerName(buffer, &size)) { str_cpy(comp, buffer); } else { str_cpy(comp, "Couldn't get the computer name"); } }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de