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

More help with linking visual c++

2 views
Skip to first unread message

Carl Hornberger

unread,
Dec 12, 1997, 3:00:00 AM12/12/97
to

ok, I got rid of most of the errors by including the appropriate .lib files
, but i still have a few more. Does anyone know which library files are
associated with these error messages:

donuts.obj : error LNK2001: unresolved external symbol _DDCopyBitmap
donuts.obj : error LNK2001: unresolved external symbol _DDSetColorKey
donuts.obj : error LNK2001: unresolved external symbol _DDColorMatch
donuts.obj : error LNK2001: unresolved external symbol _DDLoadPalette
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main

I have the directx5 sdk

Thank you
Carl Hornberger

John Ernst

unread,
Dec 12, 1997, 3:00:00 AM12/12/97
to


Carl Hornberger <horn...@rose-hulman.edu> wrote in article
<uUZ274y...@uppssnewspub04.moswest.msn.net>...

For one think, I think you're trying to compile it as a console app instead
of a regular win32 app. You choose this setting when you create a new
project workspace.

Later,
John Ernst

Richard Crowder

unread,
Dec 14, 1997, 3:00:00 AM12/14/97
to

Hi Carl,

In the sdk\samples\misc directory the file dsutils.cpp has the functions
that the link errors are complaining about.

The unresolved _main looks as if your building for a console application
rather than a Win32 app.

Cheers, Richard.

Carl Hornberger wrote in message ...

Richard Crowder

unread,
Dec 15, 1997, 3:00:00 AM12/15/97
to

Sorry I really meant ddutils.cpp


Richard Crowder wrote in message ...

0 new messages