[Proj] problems with windows include

Mateusz Loskot mateusz at loskot.net
Fri Apr 25 07:50:30 PDT 2008


Matthias Schneider wrote:
> that works, correct. As I said, try to include the "windows.h" also.

Right, I've forgot to include it.
Yes, I confirm it doesn't work.
The only solution I can suggest is to keep windows.h away of PROJ.4 
headers :-)

I never include Windows stuff in the dumb stdafx.h and then include 
stdafx.h in each .cpp file, etc. It helps to control exactly what header 
is included where.

Greetings
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Proj mailing list