Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. WTL ?

WTL ?

Scheduled Pinned Locked Moved ATL / WTL / STL
c++question
5 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    puzzolino
    wrote on last edited by
    #1

    Hi all. I was reading WTL documentation: they say that a simple SDI application EXE takes 24 Kb if compiled with some NOWIN98 option. Does this mean that the program runs on Win2000/XP only ? Isn't it a limitation ? The exe generated from my build (with default settings) takes 96 Kb. Is it the normal size ? Thanks in advance.:)

    S 1 Reply Last reply
    0
    • P puzzolino

      Hi all. I was reading WTL documentation: they say that a simple SDI application EXE takes 24 Kb if compiled with some NOWIN98 option. Does this mean that the program runs on Win2000/XP only ? Isn't it a limitation ? The exe generated from my build (with default settings) takes 96 Kb. Is it the normal size ? Thanks in advance.:)

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #2

      This is a linker option, which aligns chunks of the file on 4K boundaries by default, or on 512 byte boundaries with the /OPT:NOWIN98. The larger file loads faster on Win98 with less swapping, according to Q235956, but I think the smaller one still runs. Is your build a Debug or Release build? If Debug, then the file contains extra stuff. Steve S [This signature space available for rent]

      P 1 Reply Last reply
      0
      • S Steve S

        This is a linker option, which aligns chunks of the file on 4K boundaries by default, or on 512 byte boundaries with the /OPT:NOWIN98. The larger file loads faster on Win98 with less swapping, according to Q235956, but I think the smaller one still runs. Is your build a Debug or Release build? If Debug, then the file contains extra stuff. Steve S [This signature space available for rent]

        P Offline
        P Offline
        puzzolino
        wrote on last edited by
        #3

        I meant a Release build. I compiled the project with the default settings, as I downloaded it (only Release change, of course). So the program will still run on Win98, won't it ? The linker option is not restricted to WTL project, isn't it ?:eek:

        P 1 Reply Last reply
        0
        • P puzzolino

          I meant a Release build. I compiled the project with the default settings, as I downloaded it (only Release change, of course). So the program will still run on Win98, won't it ? The linker option is not restricted to WTL project, isn't it ?:eek:

          P Offline
          P Offline
          Paul M Watt
          wrote on last edited by
          #4

          puzzolino wrote: So the program will still run on Win98, won't it ? Yes it will still run. puzzolino wrote: The linker option is not restricted to WTL project, isn't it ? Correct, you can just add the linker option in your linker options for your project settings. WTL does not change anything about the compiler or environment, it is simply a set of template classes to write windows programs in.


          Build a man a fire, and he will be warm for a day
          Light a man on fire, and he will be warm for the rest of his life!

          P 1 Reply Last reply
          0
          • P Paul M Watt

            puzzolino wrote: So the program will still run on Win98, won't it ? Yes it will still run. puzzolino wrote: The linker option is not restricted to WTL project, isn't it ? Correct, you can just add the linker option in your linker options for your project settings. WTL does not change anything about the compiler or environment, it is simply a set of template classes to write windows programs in.


            Build a man a fire, and he will be warm for a day
            Light a man on fire, and he will be warm for the rest of his life!

            P Offline
            P Offline
            puzzolino
            wrote on last edited by
            #5

            Paul Watt (kilowatt) wrote: Correct, you can just add the linker option in your linker options for your project settings. WTL does not change anything about the compiler or environment, it is simply a set of template classes to write windows programs in. Of course, but why they compare MFC program size and WTL's with this option ? Shouldn't they have applied this option to both projects before comparing ? Mah...:~ Maybe they just wanted to upraise the latter....;P

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups