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. Save Changes to... screwing up in WinXP

Save Changes to... screwing up in WinXP

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
3 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 Offline
    M Offline
    mcguile257
    wrote on last edited by
    #1

    In my MFC application, when the user makes changes to a document, and they try to close it, a dialog box pops up saying, "Save changes to BLAH.txt?". That's what happens in Win98. But when I run my app in XP, it comes up saying something crazy like: "blah.txt ??????????????????" or something. Note I am not implementing this dialog box, MFC is doing it behind the scenes. Also the buttons in Print Preview seem to be screwed up as well in XP apposed to the correct button text in Win98. What the hell?

    N J 2 Replies Last reply
    0
    • M mcguile257

      In my MFC application, when the user makes changes to a document, and they try to close it, a dialog box pops up saying, "Save changes to BLAH.txt?". That's what happens in Win98. But when I run my app in XP, it comes up saying something crazy like: "blah.txt ??????????????????" or something. Note I am not implementing this dialog box, MFC is doing it behind the scenes. Also the buttons in Print Preview seem to be screwed up as well in XP apposed to the correct button text in Win98. What the hell?

      N Offline
      N Offline
      Neville Franks
      wrote on last edited by
      #2

      Often problems show up on one version of Windows and not another, just like things are fine in Debug, but not in a Release build. Could be unitialized variables being initialized differently, or some other out and out bug. You'll need to work through in the debugger and see what is going on. Neville Franks, Author of ED for Windows. Free Trial at www.getsoft.com

      1 Reply Last reply
      0
      • M mcguile257

        In my MFC application, when the user makes changes to a document, and they try to close it, a dialog box pops up saying, "Save changes to BLAH.txt?". That's what happens in Win98. But when I run my app in XP, it comes up saying something crazy like: "blah.txt ??????????????????" or something. Note I am not implementing this dialog box, MFC is doing it behind the scenes. Also the buttons in Print Preview seem to be screwed up as well in XP apposed to the correct button text in Win98. What the hell?

        J Offline
        J Offline
        Joe Woodbury
        wrote on last edited by
        #3

        Check the language of the XP machine. Sounds like you may right-to-left text enabled, but lack the proper language string files.

        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