Sign in to follow this  

Overlay sample, beginner's problems

This topic is 3586 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I'm trying to get the sample from this post to run: http://www.gamedev.net/community/forums/topic.asp?topic_id=359319 Currently I'm using Ms visual c++ express edition 2005 with Microsoft DirectX SDK (April 2007) and Microsoft Platform SDK for Windows Server 2003 R2 I have gone through most compile and linker errors, but I am stuck on a few remaining unresolved symbols, and I cannot find which library to link. Do you have any ideas? The errors I get are : 1>------ Build started: Project: Overlay, Configuration: Release Win32 ------ 1>Linking... 1>overlay_renderer.obj : error LNK2001: unresolved external symbol "extern "C" unsigned long __stdcall SetTextColor(struct HDC__ *,unsigned long)" (?SetTextColor@@$$J18YGKPAUHDC__@@K@Z) 1>overlay_renderer.obj : error LNK2001: unresolved external symbol "extern "C" unsigned long __stdcall SetBkColor(struct HDC__ *,unsigned long)" (?SetBkColor@@$$J18YGKPAUHDC__@@K@Z) 1>overlay_renderer.obj : error LNK2001: unresolved external symbol "extern "C" int __stdcall TextOutW(struct HDC__ *,int,int,wchar_t const *,int)" (?TextOutW@@$$J220YGHPAUHDC__@@HHPB_WH@Z) 1>C:\Documents and Settings\J\My Documents\Visual Studio 2005\Projects\hsd\Overlay\Release\Overlay.exe : fatal error LNK1120: 3 unresolved externals 1>Build log was saved at "file://c:\Documents and Settings\J\My Documents\Visual Studio 2005\Projects\hsd\Overlay\Overlay\Release\BuildLog.htm" 1>Overlay - 4 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== //Gurra

Share this post


Link to post
Share on other sites

This topic is 3586 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this