: I'm writing this little Explorer style app, and I'd like to put free drive space to my status bar. Only problem is that I don't know how to put the free space stored in ULARGE_INTEGER with some text to one string so I could print it to window. Can anyone help me?
: Beginner Programmmer
Let me guess, new-age Visual programmer? It's a simple task to do this.
memset(StatusBuffer, '\0', sizeof(StatusBuffer));
sprintf(StatusBuffer, "Free Space: %i\0", ULARGE_INT_VARIABLE);
Now you have a formatted buffer ready to be used in a status-bar.