In main.cpp:
- Code: Select all
#include <windows.h>
#include <commctrl.h>
#include "restest.h"
#include "MySQLDatabase.h"
In MySQLDatabase.h:
- Code: Select all
#include <string>
#include "Poco/Data/Common.h"
#include "Poco/Data/Session.h"
#include "Poco/Data/MySQL/Connector.h"
Adding the windows header file in MySQLDatabase.h befor or after the poco includes does not change anything. If I remove MySQLDatabase.h from the project the errors are gone but that is not a solution. Is there a reason for these strange errors, and most important is there any solution?
I am using Visual C++ 2005 Standard edition





