Skip to main content
gamedev.net
๐Ÿ”’ Locked

linking error

Started by Cherub Oct 9, 2002 at 2:19 PM 0 replies 200+ views
Original Post
Cherub
Cherub
Hi, I''m trying to include direct audio in my project, my I''m constantly having this link problem: nE error LNK2019: unresolved external symbol __imp__CoCreateInstance@20 referenced in function "public: bool __thiscall CAudioSystem::InitDirectXAudio(struct HWND__ *)" (?InitDirectXAudio@CAudioSystem@@QAE_NPAUHWND__@@@Z) What''s the problem?
Jim Adams
Jim Adams
MSDN:

quote:

QuickInfo
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Use version 2.0 or later.
Header: Declared in objbase.h.
Import Library: Included as a resource in ole32.dll.



Link w/ole32.dll and include objbase.h

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.