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. C / C++ / MFC
  4. LNK4084 - Simply unbelievable ;)

LNK4084 - Simply unbelievable ;)

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestioncareerworkspace
5 Posts 3 Posters 0 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.
  • C Offline
    C Offline
    CoY0te
    wrote on last edited by
    #1

    Houston, I have a problem. I'm working on an application recently and I have made some really little changes in the code. Now it's not working anymore. I was trying almost everything. Environment: Visual C++ 6.0 + service pack Output message: warning LNK4084: total image size 277245952 exceeds max (268435456); image may not run MSDN says: The application exceeds the limit of 256 megabytes. In fact the application has only 143 kilobytes and uses some DLL's giving totally 556KB. Does anyone met such a problem? Greetings and thanks in advance. [ CoY0te ] Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.

    J A 2 Replies Last reply
    0
    • C CoY0te

      Houston, I have a problem. I'm working on an application recently and I have made some really little changes in the code. Now it's not working anymore. I was trying almost everything. Environment: Visual C++ 6.0 + service pack Output message: warning LNK4084: total image size 277245952 exceeds max (268435456); image may not run MSDN says: The application exceeds the limit of 256 megabytes. In fact the application has only 143 kilobytes and uses some DLL's giving totally 556KB. Does anyone met such a problem? Greetings and thanks in advance. [ CoY0te ] Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.

      J Offline
      J Offline
      Joaquin M Lopez Munoz
      wrote on last edited by
      #2

      Are you statically declaring some huge array, something like:

      char buffer[SOME_HUGE_NUMBER];

      If not, a search on google hints at your temp directory being full, try cleaning it up. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

      C 1 Reply Last reply
      0
      • J Joaquin M Lopez Munoz

        Are you statically declaring some huge array, something like:

        char buffer[SOME_HUGE_NUMBER];

        If not, a search on google hints at your temp directory being full, try cleaning it up. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

        C Offline
        C Offline
        CoY0te
        wrote on last edited by
        #3

        I have a few static arrays used for temporary implementations, but total size of these arrays would be about 2-3MB, and I haven't added any recently (in fact I removed one). I think this is not it. Perhaps some VC++ bug. There are some (a "stepped" into some of them myself). Thanks anyway. Cheers. [ CoY0te ] Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.

        1 Reply Last reply
        0
        • C CoY0te

          Houston, I have a problem. I'm working on an application recently and I have made some really little changes in the code. Now it's not working anymore. I was trying almost everything. Environment: Visual C++ 6.0 + service pack Output message: warning LNK4084: total image size 277245952 exceeds max (268435456); image may not run MSDN says: The application exceeds the limit of 256 megabytes. In fact the application has only 143 kilobytes and uses some DLL's giving totally 556KB. Does anyone met such a problem? Greetings and thanks in advance. [ CoY0te ] Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.

          A Offline
          A Offline
          AlexO
          wrote on last edited by
          #4

          [CoY0te] wrote: really little changes in the code what are those?(you had to do something to exceed 264 Mb)

          C 1 Reply Last reply
          0
          • A AlexO

            [CoY0te] wrote: really little changes in the code what are those?(you had to do something to exceed 264 Mb)

            C Offline
            C Offline
            CoY0te
            wrote on last edited by
            #5

            Nothing that should have anything to do with the image size. I can't really tell when this warning message occured for the first time. Right now the application is working again but I still get this message. I did some changes in code, and then i've reconstructed one loop. Finally the code is almost the same as it was but somehow it works. At one moment it was just just a matter of 4 calls to glVertex (OpenGL;) between glBegin(GL_QUADS) and glEnd(). These calls used no arrays - they used immediate arguments, but adding them caused the crash - unbeleivable. I'm really getting sure it was it is a compiler or linker bug or something. I have solved the problem (temporally) but still heven't found the real reason. Thanks for your help. [ CoY0te ] Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.

            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