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. Compiler / Linker settings.

Compiler / Linker settings.

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
6 Posts 2 Posters 1 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.
  • F Offline
    F Offline
    FISH786
    wrote on last edited by
    #1

    Is it possible to copy settings from one project to the other. If so how to do it?

    _ 1 Reply Last reply
    0
    • F FISH786

      Is it possible to copy settings from one project to the other. If so how to do it?

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      All project settings of a project are stored in its .vcproj or .vcxproj file which is nothing but an xml file. So all you need to do is to replace the relevant sections by copying from one file to another by opening the file in some text editor like notepad.

      «_Superman_» I love work. It gives me something to do between weekends.

      F 1 Reply Last reply
      0
      • _ _Superman_

        All project settings of a project are stored in its .vcproj or .vcxproj file which is nothing but an xml file. So all you need to do is to replace the relevant sections by copying from one file to another by opening the file in some text editor like notepad.

        «_Superman_» I love work. It gives me something to do between weekends.

        F Offline
        F Offline
        FISH786
        wrote on last edited by
        #3

        Thank you. I am trying to follow some intructions on how to create Property sheet based application. When I compile and run in degug mode I get: I am getting First-chance exception at 0x5d0c373e in LastTry.exe: 0xC0000005: Access violation writing location 0x00416e8c. In debug mode however when i exit I get a The program '[3124] LastTry.exe: Native' has exited with code 0 (0x0). I was able to get the original source code from the demo site. When I compiled that and ran it. There was no exception. There is one line in my stdafx.h which is not in the original source code. It is to do with : #include <afxcontrolbars.h> // MFC support for ribbons and control bars How do I resolve this issue? I have tried to comment the above line obviously gives me more compile errors. What could I have done wrong? Or is it something that was not right in my install of VStudio 2008?

        _ 1 Reply Last reply
        0
        • F FISH786

          Thank you. I am trying to follow some intructions on how to create Property sheet based application. When I compile and run in degug mode I get: I am getting First-chance exception at 0x5d0c373e in LastTry.exe: 0xC0000005: Access violation writing location 0x00416e8c. In debug mode however when i exit I get a The program '[3124] LastTry.exe: Native' has exited with code 0 (0x0). I was able to get the original source code from the demo site. When I compiled that and ran it. There was no exception. There is one line in my stdafx.h which is not in the original source code. It is to do with : #include <afxcontrolbars.h> // MFC support for ribbons and control bars How do I resolve this issue? I have tried to comment the above line obviously gives me more compile errors. What could I have done wrong? Or is it something that was not right in my install of VStudio 2008?

          _ Offline
          _ Offline
          _Superman_
          wrote on last edited by
          #4

          You should single step using the debugger and find out the line where you get the first chance exception.

          «_Superman_» I love work. It gives me something to do between weekends.

          F 2 Replies Last reply
          0
          • _ _Superman_

            You should single step using the debugger and find out the line where you get the first chance exception.

            «_Superman_» I love work. It gives me something to do between weekends.

            F Offline
            F Offline
            FISH786
            wrote on last edited by
            #5

            in debug before I go here no exception error: BOOL bResult = CPropertySheet::OnInitDialog(); I get the error inside this...

            1 Reply Last reply
            0
            • _ _Superman_

              You should single step using the debugger and find out the line where you get the first chance exception.

              «_Superman_» I love work. It gives me something to do between weekends.

              F Offline
              F Offline
              FISH786
              wrote on last edited by
              #6

              I am sorry I am not trying to be a pain. :(( This is frustratung me... Here is what I did...Any suggetions... On a different machine i went down in versions..from 2008-2005-and finally to VStudio 6. I used the same steps in all ..I got the same exception error except in Vstudio 6..Where I got no exception error...Imported the same project into my Visual Studio 2008 and it works fine...No First-chance error. I am not sure what to do? :(( ...Well for now I can work with this imported project...but is this really a solution?...I have come to the end of the rope on this one...If I did something wrong, would VStudio 6 not complain as well? Do you think you can advice me as what to do? I don't like to give up, at the sametime I don't want to be hitting my head if it is a bug in VStudio 2008? I can't see me to be the only one trying or using the property sheet based application? Thanks, I will really appreciate some sort of feed back, I am new at this and it's frustrating me..Please advice. :)

              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