yup
I see on the forum a post about the mixing of c/c++, but when it's main.c + functions.cpp : no problems.
But my problem is that the main is a c++ class, and the rest of program is C
strange thing happen :
when I made the project, after some fixes because of "stdafx.h" - the cpp use it as precompilated header, I desactived precomp header of each c files - at the first compilation I had the problem of lib conflict (libcmt, mscvrt) : "nafxcw.lib(afxmem.obj) : error LNK2005 operator new already defined in LIBCMT.lib" because some new/delete function was used, but not needed : I deleted them.
And the compilation was Ok : the program works fine.
And now the strange bug : If I close the project (vc6) and open it again, the error LNK2005 is back, but I've no more new/delete functions.
the first time it was a big chance, no ? now it doesnt work anymore if I dont remade all the project from scratch.
Is it possible to fix that ?
or to adapt the main class in C ?
thanks