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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. ERROR

ERROR

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++question
13 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.
  • M mitil20390482304

    it is a faltal error. it seams to be the run error.

    J Offline
    J Offline
    John M Drescher
    wrote on last edited by
    #4

    Then a message box pops up with the error? The reason why I ask is I have seen this as a compile error and the fix was to do a clean build by deleting the release and debug folders and recompile however if it is a runtime error I am not sure if this could be the problem. John

    C 1 Reply Last reply
    0
    • M mitil20390482304

      it is a faltal error. it seams to be the run error.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #5

      You mean it compiles, runs and then you get this error ? Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

      M 1 Reply Last reply
      0
      • J John M Drescher

        Then a message box pops up with the error? The reason why I ask is I have seen this as a compile error and the fix was to do a clean build by deleting the release and debug folders and recompile however if it is a runtime error I am not sure if this could be the problem. John

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #6

        I'm pretty sure he's getting a compile time error and does not understand what you're asking him. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

        J 1 Reply Last reply
        0
        • C Christian Graus

          You mean it compiles, runs and then you get this error ? Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

          M Offline
          M Offline
          mitil20390482304
          wrote on last edited by
          #7

          no no it does not RUN... it is a compiler error. Sorry for the mistake.

          C 1 Reply Last reply
          0
          • M mitil20390482304

            no no it does not RUN... it is a compiler error. Sorry for the mistake.

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #8

            OK - could you post the code that is causing the problem ? Can you comment any lines out of stdafx.h and cause it to compile ? Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

            M 1 Reply Last reply
            0
            • C Christian Graus

              I'm pretty sure he's getting a compile time error and does not understand what you're asking him. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

              J Offline
              J Offline
              John M Drescher
              wrote on last edited by
              #9

              I thought so. John

              1 Reply Last reply
              0
              • C Christian Graus

                OK - could you post the code that is causing the problem ? Can you comment any lines out of stdafx.h and cause it to compile ? Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

                M Offline
                M Offline
                mitil20390482304
                wrote on last edited by
                #10

                // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently #pragma once #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // C RunTime Header Files #include #include #include #include // TODO: reference additional headers your program requires here this is all the code i have in stdafx.h!!! I have not add anything to it!!!! This is the default file when you want to build a form.net application... and i dont undrestand the pupose of it entirlt.

                M 1 Reply Last reply
                0
                • M mitil20390482304

                  // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently #pragma once #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // C RunTime Header Files #include #include #include #include // TODO: reference additional headers your program requires here this is all the code i have in stdafx.h!!! I have not add anything to it!!!! This is the default file when you want to build a form.net application... and i dont undrestand the pupose of it entirlt.

                  M Offline
                  M Offline
                  mitil20390482304
                  wrote on last edited by
                  #11

                  hold on a sec the program will not run but in the comments it says: fatal error C1084: cannot read CLR runtime data file c:....stdafx.obj

                  C 1 Reply Last reply
                  0
                  • M mitil20390482304

                    hold on a sec the program will not run but in the comments it says: fatal error C1084: cannot read CLR runtime data file c:....stdafx.obj

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #12

                    I'd do a clean and rebuild all, it's compiling the individual files but cannot read one of them for some reason. And you should check the 'do not treat <'s as HTML tags' box below when you post anything that could be mistaken for a tag. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

                    M 1 Reply Last reply
                    0
                    • C Christian Graus

                      I'd do a clean and rebuild all, it's compiling the individual files but cannot read one of them for some reason. And you should check the 'do not treat <'s as HTML tags' box below when you post anything that could be mistaken for a tag. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

                      M Offline
                      M Offline
                      mitil20390482304
                      wrote on last edited by
                      #13

                      Thanks Christan. I dont know why it happens sometimes but I copied another sdfxa.cpp file from another project and it works fine now ;);)

                      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