# Thread: allegro doesn't like windows

1. ## allegro doesn't like windows

eh.. hullo.

i'm trying to use allegro with a win32 app (for the first time, IIRC), and having some trouble... when i include <allegro.h> and <windows.h> i get the follow error upon compiling (with no code except an empty WinMain function)
Code:
```main.cpp
c:\program files\microsoft visual studio\vc98\include\allegro\system.h(29) : error C2371: 'BITMAP' : redefinition; different basic types
c:\program files\microsoft visual studio\vc98\include\wingdi.h(486) : see declaration of 'BITMAP'
Error executing cl.exe.

bluh.exe - 1 error(s), 0 warning(s)```
clicking the error takes me to the system.h file in the allegro directory, and the "see declaration of 'BITMAP'" part takes me to the WINGDI.h file.

i searched around some, but couldn't find any solution.. anyone know what's wrong..?

btw, sorry if this is in the wrong forum... it was my understanding that most of the allegro people hung out here, so it was a good place to post this...

//edit: nevermind... i fixed it : \ #include <winalleg.h> instead of <windows.h>... sorry.