First off, I'm not using Win32 API, but am using the GraphApp Library, which is ANSI I/O combatible.

I need to put the text of a file into a textbox. First, however, I need a pointer char to the text.

The format is
set_control_text(Control *c, char *text);
I need to know how to use fopen, fread, etc. with this instead of DOS (which is what my book shows).