|
From: JS <jsc...@gm...> - 2001-08-31 15:52:04
|
Hello, i am using the writefile to place strings into a textfile from a consol app ! The following works normally char *pstr; pstr = "Prozess - Protokoll \n "; WriteFile(hfile, pstr, 25, &dwWritten, NULL); And I also can write value of e.g. "int a" by WriteFile(hfile, &a, 1, &dwWritten, NULL); But it appears as one byte only - unreadable in text browser. Now, how can I write it in ASCII - ? How CAN I convert an e.g. integer to a string ? I remember from DOS Programming, there was a function. thanks for a hint j.s. ---------------- J.Schuhmacher jsc...@gm... |