How to create small exe in Visual C++

921 Views Asked by At

I need to create exe file smaller that 64KB. In previous project I was able to do 4KB by using crinkler and not using any classes or std library. I'm using Visual Studio Express 2012.

In my current project I'm using classes a lot, but I would like to use crinkler. I'm getting errors like that one

Error 1 error LNK: Cannot find symbol '??3@YAXPAX@Z'

I was searching Google for solution. Here somebody wrote to don't use std, but I'm not using anything from namespace std.

Is there a special way to make it work with classes?

0

There are 0 best solutions below