When i try to compile my Static Library, i keep getting this error:
fatal error C1010: unexpected end of file while looking for precompiled header directive
The source file is including the right header file but I dont understand why its not working
Source File:
Code:
#include "BX.h"
void SetBXData(char *Caption, HWND Parent, int Id)
{
...
}
LRESULT APIENTRY BXProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
{
...
}
Header File:
Code:
#ifndef _BX_H_
#define _BX_H_
#define BX_MIN WM_USER + 1
enum {BX_SETTEXTCOLOR = BX_MIN, BX_GETTEXTCOLOR};
void SetBXData(char *Caption, HWND Parent, int Id);
LRESULT APIENTRY BXProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);
#endif _BX_H_
Is there anything wrong with it?