Internal linking error, not sure whihc .lib to include

Started by
1 comment, last by demonrealms 19 years, 8 months ago
Hey, I'm programmign in DirectSound and it came up with this internal linking error:

--------------------Configuration: DMusic - Win32 Debug--------------------
Linking...
winmain.obj : error LNK2001: unresolved external symbol "int __stdcall DSCallback(struct _GUID *,char *,char *,void *)" (?DSCallback@@YGHPAU_GUID@@PAD1PAX@Z)
Debug/DMusic.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

DMusic.exe - 2 error(s), 0 warning(s)

I've included dxguid.lib winmm.lib dsound.lib dplayx.lib. Are there any others I need to include that I'm missing? Thanks in advance.
Advertisement
Perhaps your libs aren't up to date? I don't use DirectX and hence I don't know the libraries, but with dsound.lib you should be fine unless it's missing that function it seems. Is that a new function?
it's from the SDK DX 9.0. I'm using MS VS 6.0, whihc might be a little out of date so maybe that's it. I don't know though. Anyone know what could be causing the problem?

This topic is closed to new replies.

Advertisement