error LNK2005: new and delete already defined in LIBCMTD.lib(new.obj)

The CRT libraries use weak external linkage for the new, delete, and DllMain functions. The MFC libraries also contain new, delete, and DllMain functions. These functions require the MFC libraries to be linked before the CRT library is linked. http://support.microsoft.com/kb/148652 Solution based on VS2005 (Replace Nafxcwd.lib with Uafxcwd.lib for ~VS2013) go to project>properties>configuration properties>linker>input add … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)