Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMisteRnoOrOnha

Posted 12 January 2013 - 02:08 PM

Hi, i'm studying directx with the book "Introduction To 3D Game Programming With DirectX 9" but the sample of the first chapter isn't compiling in Visual Studio C++ Express Edition, the compiler output show this error 

 

1>d3dUtility.obj : error LNK2019: unresolved external symbol "long __stdcall d3d::WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@d3d@@YGJPAUHWND__@@IIJ@Z) referenced in function "bool __cdecl d3d::InitD3D(struct HINSTANCE__ *,int,int,bool,enum _D3DDEVTYPE,struct IDirect3DDevice9 * *)" (?InitD3D@d3d@@YA_NPAUHINSTANCE__@@HH_NW4_D3DDEVTYPE@@PAPAUIDirect3DDevice9@@@Z)

I don't know how to fix this and i think the book code is correct. Can anyone help me?

 


#1MisteRnoOrOnha

Posted 12 January 2013 - 01:06 PM

Hi, i'm studying directx with the book "Introduction To 3D Game Programming With DirectX 9" but the sample of the first chapter isn't compiling in Visual Studio C++ Express Edition, the compiler output show this error 

 

1>d3dUtility.obj : error LNK2019: unresolved external symbol "long __stdcall d3d::WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@d3d@@YGJPAUHWND__@@IIJ@Z) referenced in function "bool __cdecl d3d::InitD3D(struct HINSTANCE__ *,int,int,bool,enum _D3DDEVTYPE,struct IDirect3DDevice9 * *)" (?InitD3D@d3d@@YA_NPAUHINSTANCE__@@HH_NW4_D3DDEVTYPE@@PAPAUIDirect3DDevice9@@@Z)

I don't know how to fix this and i think the book code is correct. Can anyone help me?

 


PARTNERS