Sign in to follow this  
Jesbass

Visual Studio 2005 Conversion Issues

Recommended Posts

I just upgraded today from Visual Studio 2003 to Visual Studio 2005. In order to run my projects that were made in VS2003, CS2005 insists on converting them. But then it can't find files that it located so easily before. This is mostly #include files - does anyone know if the syntax is different between 2003 and 2005? And also, how do I go about 'locating' these files which are still included in my engine, but my project simply refuses to find? :/

Share this post


Link to post
Share on other sites
Ah, of course. I completely forgot about the SDK. So the DirectX SDK of February 2006 would be the one I need to download, right? Do you expect this to solve my problem, or is there something else I can be doing while I wait for the hour-long download to finish?

Share this post


Link to post
Share on other sites
Oh man. The include files are there, but there are a whole host of errors I never had before upgrading. There are a few links that still don't work, but the typical error goes as follows:

e:\gamedev\shared\2dgamelib\singleton.h(53) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
e:\gamedev\shared\2dgamelib\display.h(83) : see reference to class template instantiation 'CSingleton<T>' being compiled
with
[
T=CDisplay
]

There are approximately 90 of these. The code this is referring to is the first line:
class CDisplay : public CEntity, public CSingleton<CDisplay>
{
friend CSingleton<CDisplay>;

// Member Variables
public:

protected:
Int32 m_iWidth,
m_iHeight;

bool m_bIsWindowed;

CSTLRenderMap m_mapRenderMap;

dd::Renderer m_Renderer;

private:

// Member Functions
public:

virtual void Process();

virtual bool Initialize(const Int8* pcIniFileName);

Int32 GetWidth() const
{
return m_iWidth;
}

Int32 GetHeight() const
{
return m_iHeight;
}

void GetWindowPos(Int32& _x,Int32& _y);

//void SetWindowPos(Int32 _x, Int32 _y);

bool IsWindowed() const
{
return m_bIsWindowed;
}

dd::Renderer& GetRenderer()
{
return m_Renderer;
}

void OnResetDevice();

bool AddRenderEntity(CRenderEntity* _pRenderEntity);

bool RemoveRenderEntity(CRenderEntity* _pRenderEntity);

void Draw();

protected:
CDisplay();

virtual ~CDisplay();

private:

};

#endif // __DISPLAY_H__


This is so frustrating. All I want to do is keep programming, but I'm getting a heap of errors and warnings. :(

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this