As many of you may or probably may not know, I am working on a text editor. I was looking at how to save at WinProg.org. The file handling stuff the creator of the site used, however, doesn't work.
This is the portion with the error
How do I fix this?Code:LPSTR pszFileText; pszFileText = GlobalAlloc(GPTR, dwFileSize + 1); // error