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. Visual Studio
  4. Successfully built project doesn't show app window [modified]

Successfully built project doesn't show app window [modified]

Scheduled Pinned Locked Moved Visual Studio
csharpc++visual-studiowinformsdebugging
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.
  • J Offline
    J Offline
    Jose M Castellanos
    wrote on last edited by
    #1

    Hello: I am building a project like this on VS2003: - C# test app (Windows form) - Managed C++ main DLL (exports several user controls) - Legacy C++ DLLs Some days ago I started to experience a problem when trying to debug it. I started the application for debugging, VS entered debug mode, but I couldn't see my form Window. If I open the task manager, my process is there but with a 0% cpu time. Now it happens more and more frequently. Sometimes I just add a blank space to a file, compile again and my app can be debugged regularly. Of course I have tried to rebuild my app, delete Debug/Release folders of my projects and open/close VS ... Any idea about what can be happening? Answers will be really welcomed. -- modified at 7:12 Thursday 4th January, 2007

    A 1 Reply Last reply
    0
    • J Jose M Castellanos

      Hello: I am building a project like this on VS2003: - C# test app (Windows form) - Managed C++ main DLL (exports several user controls) - Legacy C++ DLLs Some days ago I started to experience a problem when trying to debug it. I started the application for debugging, VS entered debug mode, but I couldn't see my form Window. If I open the task manager, my process is there but with a 0% cpu time. Now it happens more and more frequently. Sometimes I just add a blank space to a file, compile again and my app can be debugged regularly. Of course I have tried to rebuild my app, delete Debug/Release folders of my projects and open/close VS ... Any idea about what can be happening? Answers will be really welcomed. -- modified at 7:12 Thursday 4th January, 2007

      A Offline
      A Offline
      Antony M Kancidrowski
      wrote on last edited by
      #2

      Have you tried enabling the Unmanaged Code Debugging under Debug for the C# application. You may have an intermittent problem that will show up if you are debugging both managed and unmanaged code.

      Ant. I'm hard, yet soft.
      I'm coloured, yet clear.
      I'm fruity and sweet.
      I'm jelly, what am I? Muse on it further, I shall return!
      - David Walliams (Little Britain)

      J 1 Reply Last reply
      0
      • A Antony M Kancidrowski

        Have you tried enabling the Unmanaged Code Debugging under Debug for the C# application. You may have an intermittent problem that will show up if you are debugging both managed and unmanaged code.

        Ant. I'm hard, yet soft.
        I'm coloured, yet clear.
        I'm fruity and sweet.
        I'm jelly, what am I? Muse on it further, I shall return!
        - David Walliams (Little Britain)

        J Offline
        J Offline
        Jose M Castellanos
        wrote on last edited by
        #3

        Yes, I had activated unmanaged code debugging, so it must be due to a something different. The problem apperars and disappears without changing any of the project settings.

        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