Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Errors building PlayWnd sample

17 views
Skip to first unread message

Ric...@nospam.nospam

unread,
Dec 9, 2004, 11:37:10 AM12/9/04
to
The PlayWnd sample builds fine under VS 6 but when I try to build it under
VS.NET I get these two unresolved references:

playwnd.obj : error LNK2019: unresolved external symbol "long __stdcall
ATL::AtlWinModuleInit(struct ATL::_ATL_WIN_MODULE70 *)"
(?AtlWinModuleInit@ATL@@YGJPAU_ATL_WIN_MODULE70@1@@Z) referenced in function
"public: __thiscall ATL::CAtlWinModule::CAtlWinModule(void)"
(??0CAtlWinModule@ATL@@QAE@XZ)

playwnd.obj : error LNK2001: unresolved external symbol "class
ATL::CAtlBaseModule ATL::_AtlBaseModule"
(?_AtlBaseModule@ATL@@3VCAtlBaseModule@1@A)

Any help would be greatly appreciated!

Thanks,
Richard Wilder
IGT

The March Hare [MVP]

unread,
Dec 9, 2004, 12:18:42 PM12/9/04
to
On Thu, 9 Dec 2004 08:37:10 -0800, Ric...@nospam.nospam wrote:

> The PlayWnd sample builds fine under VS 6 but when I try to build it under
> VS.NET I get these two unresolved references:

Try upgrading to the latest version of the SDK (VS6 is on the way out as
far as support).

--
Please read this before replying:
1. Learn about newsgroups - http://dev.6581.com/newsgroups.html
2. Trim & respond in-line (please don't top post or snip everything)
3. Benefit others - follow up if you are helped or you found a solution

Ric...@nospam.nospam

unread,
Dec 9, 2004, 12:35:41 PM12/9/04
to
> > The PlayWnd sample builds fine under VS 6 but when I try to build it under
> > VS.NET I get these two unresolved references:
>
> Try upgrading to the latest version of the SDK (VS6 is on the way out as
> far as support).
>
I've upgraded to Visual Studio .NET 2003 and that's when I get the
unresolved references. I went back to VS6 just to check if the sample worked
there (it does). I need help getting those two references to link in .NET.
Thanks,
Richard Wilder

The March Hare [MVP]

unread,
Dec 9, 2004, 12:49:40 PM12/9/04
to

What version of the DX SDK do you have?

What version of the Windows Platform SDK do you have?

The October 2004 DX SDK has VS.NET compatible files but does not ship with
VS6 dsw files (DShow is in the Extras download).

Ric...@nospam.nospam

unread,
Dec 9, 2004, 2:17:36 PM12/9/04
to
> What version of the DX SDK do you have?
>
> What version of the Windows Platform SDK do you have?
>
> The October 2004 DX SDK has VS.NET compatible files but does not ship with
> VS6 dsw files (DShow is in the Extras download).
>
I'm using DirectX 9.0 SDK Update (Summer 2003) and Visual Studio .NET
Enterprise Developer 2003. I'm assuming that since the sample links in VS6
that I must have all the correct .libs somewhere on my PC that should enable
me to link successfully in .NET. I could add the lib name and path to my
project if I knew where AtlWinModuleInit and CAtlBaseModule were defined.

The March Hare [MVP]

unread,
Dec 9, 2004, 4:34:32 PM12/9/04
to

Ric...@nospam.nospam

unread,
Dec 9, 2004, 6:32:11 PM12/9/04
to
0 new messages