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. Visual Basic
  4. Simple program exceptions on all other win7 platforms

Simple program exceptions on all other win7 platforms

Scheduled Pinned Locked Moved Visual Basic
debugginghelpcsharpgame-devquestion
2 Posts 2 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.
  • U Offline
    U Offline
    Uranium 235
    wrote on last edited by
    #1

    so, I'm making an ini editor for this game that has no advanced options. I found an INI reader/writer here: http://www.mentalis.org/soft/class.qpx?id=6[^] When I debug or run the program on my laptop (where I have windows 7 and vb2010 installed) it works fine. I dual boot to winxp works fine there too I have two other win7 computers and JIT debugger comes up on both saying:' Error message: An item with the same key has already been added I see references to the ini class inside the details. Cause it uses dictionaries. But I get no exception on xp or the dev win7 install. also note: I changed the project down to .NET 2.0 after I made the project. Does this have anything to do with it? please help

    B 1 Reply Last reply
    0
    • U Uranium 235

      so, I'm making an ini editor for this game that has no advanced options. I found an INI reader/writer here: http://www.mentalis.org/soft/class.qpx?id=6[^] When I debug or run the program on my laptop (where I have windows 7 and vb2010 installed) it works fine. I dual boot to winxp works fine there too I have two other win7 computers and JIT debugger comes up on both saying:' Error message: An item with the same key has already been added I see references to the ini class inside the details. Cause it uses dictionaries. But I get no exception on xp or the dev win7 install. also note: I changed the project down to .NET 2.0 after I made the project. Does this have anything to do with it? please help

      B Offline
      B Offline
      Bernhard Hiller
      wrote on last edited by
      #2

      Then the ini files you read on those other computers are not correct, e.g. a duplicated section. In order to prevent the JIT debugger rom being invoked, use some try..catch in the function where you call your ini reader.

      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