actually it should work if you call this:

str_cpy(username, "");
str_cpy(password, "");

well, i have a fixed string with a length of 200 so i do this at the end of my function to clear the string again:

str_cpy(strChatEntry[0], "#200");

You need to clear the string, not the inkey. theres nothing to clear. it only uses the string "username" for example. and if there is still text inside, it shoes that the next time you want to login


My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig