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. Problems with other people's Vista!

Problems with other people's Vista!

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
6 Posts 4 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 Offline
    M Offline
    Member 868926
    wrote on last edited by
    #1

    Hi I have an application that runs fine in XP, and also in Vista on my laptop. However users are reporting problems in Vista, particularly concerning saving files and this message when they quit the programme: "This application has requested the Runtime to terminate in an unusual way" I presume this is something to do with me having installed Visual C++ 2008 on the laptop, so I have certain libraries or files that other users don't. I know this is a bit vague, but I thought someone might recognise the problem. Thanks in advance if you can help. Greg Chapman

    M C M C 5 Replies Last reply
    0
    • M Member 868926

      Hi I have an application that runs fine in XP, and also in Vista on my laptop. However users are reporting problems in Vista, particularly concerning saving files and this message when they quit the programme: "This application has requested the Runtime to terminate in an unusual way" I presume this is something to do with me having installed Visual C++ 2008 on the laptop, so I have certain libraries or files that other users don't. I know this is a bit vague, but I thought someone might recognise the problem. Thanks in advance if you can help. Greg Chapman

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #2

      maybe you have to install the runtime redistributable? Microsoft Visual C++ 2008 Redistributable Package (x86) [^]

      Watched code never compiles.

      1 Reply Last reply
      0
      • M Member 868926

        Hi I have an application that runs fine in XP, and also in Vista on my laptop. However users are reporting problems in Vista, particularly concerning saving files and this message when they quit the programme: "This application has requested the Runtime to terminate in an unusual way" I presume this is something to do with me having installed Visual C++ 2008 on the laptop, so I have certain libraries or files that other users don't. I know this is a bit vague, but I thought someone might recognise the problem. Thanks in advance if you can help. Greg Chapman

        C Offline
        C Offline
        Code o mat
        wrote on last edited by
        #3

        I don't know Vista much (stayed away from it) but it could also be access right issues. Like, when you boot your vista you log in with an admin user and have all the rights to write everywhere and anything, but when your users log in as normal users, your progran no longer can read/write to certain parts of the registry, the filesystem and who knows whatnot.

        > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Leela: Fry, you're wasting your life sitting in front of that TV. You need to get out and see the real world. Fry: But this is HDTV. It's got better resolution than the real world <

        1 Reply Last reply
        0
        • M Member 868926

          Hi I have an application that runs fine in XP, and also in Vista on my laptop. However users are reporting problems in Vista, particularly concerning saving files and this message when they quit the programme: "This application has requested the Runtime to terminate in an unusual way" I presume this is something to do with me having installed Visual C++ 2008 on the laptop, so I have certain libraries or files that other users don't. I know this is a bit vague, but I thought someone might recognise the problem. Thanks in advance if you can help. Greg Chapman

          M Offline
          M Offline
          Member 868926
          wrote on last edited by
          #4

          Thanks for your replies. It would be a shame if I had to include the distributable package - I think it would put me off installing a little shareware app; and most things work OK. I'll try and explore the access rights idea - but it's hard to find bugs when they don't occur on the development machine! Cheers Greg

          1 Reply Last reply
          0
          • M Member 868926

            Hi I have an application that runs fine in XP, and also in Vista on my laptop. However users are reporting problems in Vista, particularly concerning saving files and this message when they quit the programme: "This application has requested the Runtime to terminate in an unusual way" I presume this is something to do with me having installed Visual C++ 2008 on the laptop, so I have certain libraries or files that other users don't. I know this is a bit vague, but I thought someone might recognise the problem. Thanks in advance if you can help. Greg Chapman

            C Offline
            C Offline
            Chuck OToole
            wrote on last edited by
            #5

            Instead of linking against the DLL version of the runtime, link the runtime statically. It will make your image larger but remove the need to includes / install the redistributables.

            1 Reply Last reply
            0
            • M Member 868926

              Hi I have an application that runs fine in XP, and also in Vista on my laptop. However users are reporting problems in Vista, particularly concerning saving files and this message when they quit the programme: "This application has requested the Runtime to terminate in an unusual way" I presume this is something to do with me having installed Visual C++ 2008 on the laptop, so I have certain libraries or files that other users don't. I know this is a bit vague, but I thought someone might recognise the problem. Thanks in advance if you can help. Greg Chapman

              M Offline
              M Offline
              Member 868926
              wrote on last edited by
              #6

              I finally worked it out. You were right about access priveleges etc. On quitting my app would try and update a data file in the app's own program folder - hence the error (unless the folder's priveleges had been manually changed, or UAC turned off). I turned off UAC within about 5 minutes off getting Vista, so didn't realise what was happening. Doesn't this make developing software for Vista a lot more complicated? Is Windows 7 the same? Thanks again GC

              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