Hi, I am returning to c++ after a couple years, and with only basic knowledge, and am trying to go through different aspects of programming with windows.h (using dev c++).
I am currently trying to do a ReadFile() in which the file is read, and displays the read text in a messagebox as such:
<code>
char textin[]= "";
DWORD x, y;
CloseHandle(hFile1);
</code>
The above code is triggered by a button press, but the messagebox always comes out blank. I am sure it is a rookie mistake but after much head scratching and searching for answers I can't figure out what is going on, so any insight is apprectiated.