Base class Undefined WEIRD problem . Need help
<p>My CGameStateLogo which inherit from CGameState:</p>

<p>CGameState.h</p>

<pre><code>#pragma once
#include "GameMain.h"
#include "MyBitmap.h"

class CGameMain;
class CMyBitmap;

class CGameState
{
public:
    CMyBitmap* pbmCurrent;
    CGameMain* pGM;

    int GameStateID;

    virtual void MessageEnter () = 0;
    virtual void MessageUpdate( int iKey ) = 0;
    virtual void MessagePaint( HDC* pDC ) = 0;

    void StateHandler ( int msg, HDC* pDC, int key ); 

public:
    CGameState(void);
    ~CGameState(void);
};
</code></pre>

<p>After creating and finding, problem comes from here :
I've created 2 classes: CTest and CGameStateLogo</p>

<pre><code>    #pragma once
#include "GameState.h"
class CTest:CGameState
{
public:
    CTest(void);
    ~CTest(void);
};

#pragma once
#include "GameState.h"
class CGameStateLogo:CGameState // Bug at this line
{
public:
    CGameStateLogo(void);
    ~CGameStateLogo(void);
};
</code></pre>

<p>Do VS has problem in naming ?</p>

<p>Thanks for reading this :). Things go WEIRD, I'll update my question later. Sorry for wasting your time .</p>
