I am currently editing a c++ application (only using plain api ),When i compiled it with 2010 (release configration )the size was 28 kb but when i did this with vc++ 6 it was 42 kb.
why is this
I cant use 2010 version for release because my bit defender says its a virus (my software is a self extracting exe uses lzma compresssion , i think thats why bitdefender says it is a virus , but ok with vc++ 6 )
also : bit defender not says after building the exe ; when i add any file to exe using copy /b using cmd it says its a virus ; again no problem with v6
Different file sizes after compilation might be because the newer VisualStudio uses newer c-runtimes which add some runtime-checks to the code that weren’t existing at VS 6 times.
Dont’t know about the virus thing – maybe you have different output paths with the one from VS 2010 being in a directory watched by BitDefender?