Does someone know why MFC apps (.exe) are bigger in size then simliar visual basic apps?
And with the MFC apps I need the mfc dlls to run it on other systems. Why?
1. No; the MFC exes are not necessarily bigger. In fact they can be made 'lean and mean'. You have to read up on compiler options (can be found with a search on MSDN)
2. You have to distribute runtime files alongwith your apps (msvcrt*.dlls). This can also be made optional by inserting necessary code in the exe itself automatically. Again you have to look up the compiler options (shared dlls section).
Incidentally, apps developed in VB also require their own set of dlls also.
come back if you cant find the material.
goodluck!
/Srikanth In the sweat of thy brow shall you eat your bread.
-Bible
thanks, the compiler issue is very complex, can you give me some tips how to make small exe files, befor I start to read everything?
I compiled a simple dialog app with static dll(to run on other systems) with "small code" optimization. But the app is still 900kb big! (I made a simple dialog app in visual basic, and its 24kb small, and runs on other systems)
So what's the trick? How can this be?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.