Pb With API and GetComputerName

BlitzMax Forums/BlitzMax Programming/Pb With API and GetComputerName

For strings you use $z to tell the function that it uses a cstring.
You use a byte ptr if the function want a type.

Take a look at this source:

http://www.blitzbasic.com/Community/posts.php?topic=54935