Ok, Ive looked in the forums and there is a bit there on DarkBasic stuff. Need to look more closely. I have been playing around and created a windows class and createwindow call, builds ok, just wont link
1>animation.lib(dllentry.obj) : error LNK2019: unresolved external symbol "class CFactoryTemplate * g_Templates" (?g_Templates@@3PAVCFactoryTemplate@@A) referenced in function _DllGetClassObject@12
1>animation.lib(dllentry.obj) : error LNK2019: unresolved external symbol "int g_cTemplates" (?g_cTemplates@@3HA) referenced in function _DllGetClassObject@12
1>Debug\EcoModeler.exe : fatal error LNK1120: 2 unresolved externals
Will try and see what Ive broken, believe it is animation.lib from GDK, not sure why except that using windows.h has broken soemthing