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. MSVC 6.0 Application crashes at Start up

MSVC 6.0 Application crashes at Start up

Scheduled Pinned Locked Moved C / C++ / MFC
helpannouncement
3 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.
  • L Offline
    L Offline
    louis 0
    wrote on last edited by
    #1

    Hello My WINNT application crashes at startup. I use quite a few threads in the program. It normally happens when there is data coming in at the Asynch comm port. When i disconnect the comm cable then there in NO crash at startup. The DR Watson message says, "Access voilation : 0xc000005, Address : 0x0000080. When I look in the Map file of the Released version, the address mentioned can only be found around : comct132:COMCTL32.dll 0002:00000080 _imp_ImageList_ReplaceIcon@12 00476080 Does anyone perhaps know how I should continue from here to find the problem. Thanks Louis

    J 1 Reply Last reply
    0
    • L louis 0

      Hello My WINNT application crashes at startup. I use quite a few threads in the program. It normally happens when there is data coming in at the Asynch comm port. When i disconnect the comm cable then there in NO crash at startup. The DR Watson message says, "Access voilation : 0xc000005, Address : 0x0000080. When I look in the Map file of the Released version, the address mentioned can only be found around : comct132:COMCTL32.dll 0002:00000080 _imp_ImageList_ReplaceIcon@12 00476080 Does anyone perhaps know how I should continue from here to find the problem. Thanks Louis

      J Offline
      J Offline
      James Hughes
      wrote on last edited by
      #2

      Sounds like the rx thread is receiving data before other threads have started up, perhaps expecting some processing done by other threads which doesnt get done? Can you delay that thread until all the others have started, or at least all initialisation is complete? James

      L 1 Reply Last reply
      0
      • J James Hughes

        Sounds like the rx thread is receiving data before other threads have started up, perhaps expecting some processing done by other threads which doesnt get done? Can you delay that thread until all the others have started, or at least all initialisation is complete? James

        L Offline
        L Offline
        louis 0
        wrote on last edited by
        #3

        Thanks James Adding a delay, thus waiting for all threads to startup solved the crash problem at startup. Thanks again for your input. Cheers :) Louis

        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