There is a massive misunderstanding from your side:DamageX wrote:I wanted to pass a pointer because I wanted the function to read from a location other than the beginning. Specifically, if I have stuff="http://www.freebasic.net" I wanted to pass a pointer to "www.freebasic.net" and skip the "http://"
GetHostByName() is, as the name indicates, a GETTER (gets information, from .dll in this case).
Your intended use indicates, that you want to: SET something, for that you need a: SETTER.
(Maybe there is something similar like: SetHostByName() ...)