Hello World GUI is not takes 155 KB

Website
2006-08-23
2013-04-08
  • Nobody/Anonymous

    sir,

    this given example is not takes 155 kb.
    it takes 7mb, so please explain how to take 155 kb.

    thanking you sir

     
    • Thomas Hansen

      Thomas Hansen - 2006-08-23

      Try turning off debugging and all those other params that adds overhead...
      Remember ALSO to link against the SmartWin VERSION that is compiled without debugging...
      (in VS link against SmartWin.lib instead of SmartWinD.lib)

      .t

       
    • Nobody/Anonymous

      sir,

      hello world takes 375 KB,

      i am setting Compile options also
      please reply

      thanking you sir

       
      • Thomas Hansen

        Thomas Hansen - 2006-08-24

        Howdy, I am not really sure what your question is, but if you think 375 KB is too big I have no other answer than "that's probably right!"...

        .t

         
    • Nobody/Anonymous

      Tell us which compiler version you use.

       
      • Thomas Hansen

        Thomas Hansen - 2006-09-24

        It's been a while since I wrote that stuff, but at the time I used Visual C++ version 7.1 with all debugging turned off and all optimization turned on!
        The library might be bigger today, probably mainly because it now heavily relies upon boost for e.g. sending signals and stuff like that...
        Though for any serious C++ development you'd probably want to include at least parts of boost anyway since it'll most probably be a part of the 0x std anyway...

        .t

         

Log in to post a comment.