|
From: Brian D. <br...@de...> - 2008-03-12 06:30:37
|
fei huang wrote: > my project was both compiled under Linux with gcc and Windows with VC6, > however, the MinGW32 always complains that "HANDLE" does not name a type, and > all sorts of thing like that, a single test file with any Windows APIs or data > types would be compiled with no problem, I'm really confused what caused the > difference, this is my first time using MinGW, please hlp.. tks a lot You have to include the appropriate Windows headers (at least windows.h in most cases) with MinGW in the exact same way as you would with MSVC. The necessary headers to include are documented on MSDN for each function. Without more details such as: a testcase, a command line, and its output, there's really no way anybody can say much more. Brian |