[Dev-C++] Error compiling "file_one" from tutorials.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Richard P. E. <ev...@ma...> - 2000-12-12 17:37:08
|
This is from the Forger's Win32 API tutorials. I tried to compile the example "file_one" but in File_one.c I got the following error messages: 17 file_one.c warning: converting NULL to non-pointer type 25 file_one.c ANSI C++ forbids implicit conversion from `void *' in assignment 49 file_one.c warning: converting NULL to non-pointer type 57 file_one.c ANSI C++ forbids implicit conversion from `void *' in assignment 179 file_one.c warning: converting NULL to non-pointer type 0 Both have the following same line of code: pszText = GlobalAlloc(GPTR, dwTextLength + 1); Can anyone tell me what went wrong? Thank in advance. |