Linker error in release but not debug
I'm getting Linker error LNK2001 when compiling my first DirectX app as Win32 Release, although it compiles fine under Win32 Debug, the project type is Win32 Application (Using MSVC++6.0 standard).
DirectDrawSprites.obj : error LNK2001: unresolved external symbol _DirectDrawCreateEx@16
DirectDrawSprites.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw7
Release/Step2.exe : fatal error LNK1120: 2 unresolved externals
Most of the code is from a tutorial on www.sunlightd.com, slightly modified, it's attached to this post.
Thanks in advance fort any help