I'm refrencing Charles Petzolds book on win32 programming yet In the code I have slightly modified with a win32 template project I'm getting the following error.


Code:
1>FONTROT.obj : error LNK2019: unresolved external symbol "struct HFONT__ * __cdecl EzCreateFont(struct HDC__ *,wchar_t *,int,int,int,int)" (?EzCreateFont@@YAPAUHFONT__@@PAUHDC__@@PA_WHHHH@Z) referenced in function "void __cdecl PaintRoutine(struct HWND__ *,struct HDC__ *,int,int)" (?PaintRoutine@@YAXPAUHWND__@@PAUHDC__@@HH@Z)
1>C:\Users\rip\Documents\Visual Studio 2012\Projects\BoustahedonCC++\Debug\BoustahedonCC++.exe : fatal error LNK1120: 1 unresolved externals
I triple checked the signatures and types on the relevant functions and everything seems to match. I'm using the device context from the main window in the template code to call PaintRoutine which is from the fontrot program in petzolds book under Text and Fonts. I could post more code but do not know what to post.