Quote Originally Posted by CodeBrain View Post
You got some splainin to do Korny
w0rd.

Creating library J:\LAPTOP\Halo Custom Edition\OpenSauce\bin\Debug\Halo1_CE\d3d9.lib and object J:\LAPTOP\Halo Custom Edition\OpenSauce\bin\Debug\Halo1_CE\d3d9.exp

d3d9.exp : warning LNK4070: /OUT:Halo1_CE.dll directive in .EXP differs from output filename 'J:\LAPTOP\Halo Custom Edition\OpenSauce\bin\Debug\Halo1_CE\d3d9.dll'; ignoring directive
This warning is not much to worry about. To fix it though, you have to make sure your dll output name is the same as the library name in the .def file. You can edit this in some project settings. I don't use 05, so not sure where exactly. Or you can just change the library name in the .def file to the name of your dll to get rid of the warning.

TextBlock.obj : error LNK2019: unresolved external symbol _D3DXCreateFontA@48 referenced in function "public: void __thiscall Yelo::TextBlock::SetFont(char const *,long,unsigned long,bool,unsigned long)" (?SetFont@TextBlock@Yelo@@QAEXPBDJK_NK@Z)

TextBlock.obj : error LNK2019: unresolved external symbol __imp__SetRect@20 referenced in function "public: void __thiscall Yelo::TextBlock::Refresh(void)" (?Refresh@TextBlock@Yelo@@QAEXXZ)

J:\LAPTOP\Halo Custom Edition\OpenSauce\bin\Debug\Halo1_CE\d3d9.dll : fatal error LNK1120: 2 unresolved externals
As for these errors, follow this useful advice he already gave you:
Quote Originally Posted by Kornman00 View Post
SetRect is a windows function. Since you somehow had a messed up VC++ directories setup, I'm pretty sure it is still plaguing you. Its a linker error, meaning you're not including the module which defines\exports the SetRect symbol (probably user32.lib).
You need to link your d3d libs!