[Proj] problems with windows include

Matthias Schneider schneider.matthias at tu-ilmenau.de
Fri Apr 25 11:15:56 EDT 2008


Now I work with a kind "buffer class" where I include the projects.h 
only in the cpp file. For my project I use the buffer class include - I 
hope this work ;)

So there should be a clear delimitation between proj.4 and the windows part.

Best regards,
Matthias


Mateusz Loskot schrieb:
> 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



More information about the Proj mailing list