Thanks this helped 
Code: ags
But if I only took <winalleg.h>
then the errors says add <allegro.h> before <winalleg.h>
Code: ags
Thank you very much
Raigen

#define WIN32_LEAN_AND_MEAN
#include <allegro.h>
#include <winalleg.h>
#include <winsock2.h>
#include <string>
#define THIS_IS_THE_PLUGIN
#include "agsplugin.h"
But if I only took <winalleg.h>
then the errors says add <allegro.h> before <winalleg.h>

#include <allegro.h>
#include <winalleg.h>
Thank you very much
Raigen