Thanks that seems to have fixed all those. now im getting something that looks like its related to the ATL stuff i was having problems with before. not sure why as i have not included any graphics stuff that i can think of. i have removed all projects but the test one and foobar2000_SDK
1>------ Build started: Project: test, Configuration: Debug Win32 ------
1> test.cpp
1> TmSchema.h is obsolete. Please include vssym32.h instead.
1>test.obj : error LNK2019: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z) referenced in function "public: class pfc::_avltree_node<struct pfc::map_t<struct _GUID,unsigned int,class pfc::comparator_default>::t_storage> * __thiscall pfc::refcounted_object_ptr_t<class pfc::_avltree_node<struct pfc::map_t<struct _GUID,unsigned int,class pfc::comparator_default>::t_storage> >::operator->(void)const " (??C?$refcounted_object_ptr_t@V?$_avltree_node@Ut_storage@?$map_t@U_GUID@@IVcomparator_default@pfc@@@pfc@@@pfc@@@pfc@@QBEPAV?$_avltree_node@Ut_storage@?$map_t@U_GUID@@IVcomparator_default@pfc@@@pfc@@@1@XZ)
1>D:\Programming\Visual Studio C++\test\Debug\test.dll : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========