You are not logged in.
Pages: 1
Hey Guys i'm having some odd problem while Linking, after the compilation:
snddx.obj : error LNK2019: unresolved external symbol _DXGetErrorString8A@4 referenced in function _SNDDXInit
snddx.obj : error LNK2019: unresolved external symbol _DXGetErrorDescription8A@4 referenced in function _SNDDXInit
i noticed the reference note written at the beginning of snddx.c:
"// I have to do this because for some reason because the dxerr8.h header is fubared
const char* __stdcall DXGetErrorString8A(HRESULT hr);
#define DXGetErrorString8 DXGetErrorString8A
const char* __stdcall DXGetErrorDescription8A(HRESULT hr);
#define DXGetErrorDescription8 DXGetErrorDescription8A"
---------------------------------------------------------------------
i checked my dxerr.8.h and it's diffrent:
const char *WINAPI DXGetErrorString8A(HRESULT);
const WCHAR *WINAPI DXGetErrorString8W(HRESULT);
const char* WINAPI DXGetErrorDescription8A(HRESULT);
const WCHAR* WINAPI DXGetErrorDescription8W(HRESULT);
HRESULT WINAPI DXTraceA(const char*,DWORD,HRESULT,const char*,BOOL);
HRESULT WINAPI DXTraceW(const char*,DWORD,HRESULT,const WCHAR*,BOOL);
-----------------------------------------------------------------------------------------------
maybe somebody can lend me a hand with this.
thx.
Offline
Can you please try temporarily removing the directx sdk from your visual studio include and lib paths? If that fixes it, it will be helpful information.
Offline
Pages: 1