You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2008-12-23 10:24:07

Metrance
Member
Registered: 2008-12-23
Posts: 1

SNDDX.obj error

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

#2 2009-01-05 22:50:37

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,169

Re: SNDDX.obj error

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

Board footer

Powered by FluxBB