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. It's really a complicated problem-Help me to get solution

It's really a complicated problem-Help me to get solution

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++tutorialquestion
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.
  • B Offline
    B Offline
    Billar
    wrote on last edited by
    #1

    Dear Friends, Sometime my application gives an error and an abnormal error dialog box gets created and immediately after that my application closes. Also some time my application hungs-up. I am not able to find out the actual error because usually it never happens but sometime it happens and that is why it is not easy to track errors. 1. Thus please tell me how to create a log file to track of each operation. 2. Also I would like to track few errors like access violation, abnormal error window generation. As I am also unable to get the exact error so I cannot give any more idea abt errors so it may help if I can create a log file or can track few errors as specified. Thus please help me to find out the solution. Also please write to me whether I can make my program to generate a particular error to check whether my preventive measures are working properly. I am new to VC++ and at present I am unable to find any solution of it. Although I find a function say GetLastError(), but how to use it, to a particular error, I am not getting........I think WM_ENABLE message may also help me in case of hung-up but how to add this message to class wizard?:confused: Thus please help me to find the solution... Thanking You in advance. Billar :mad::confused: X|

    M 1 Reply Last reply
    0
    • B Billar

      Dear Friends, Sometime my application gives an error and an abnormal error dialog box gets created and immediately after that my application closes. Also some time my application hungs-up. I am not able to find out the actual error because usually it never happens but sometime it happens and that is why it is not easy to track errors. 1. Thus please tell me how to create a log file to track of each operation. 2. Also I would like to track few errors like access violation, abnormal error window generation. As I am also unable to get the exact error so I cannot give any more idea abt errors so it may help if I can create a log file or can track few errors as specified. Thus please help me to find out the solution. Also please write to me whether I can make my program to generate a particular error to check whether my preventive measures are working properly. I am new to VC++ and at present I am unable to find any solution of it. Although I find a function say GetLastError(), but how to use it, to a particular error, I am not getting........I think WM_ENABLE message may also help me in case of hung-up but how to add this message to class wizard?:confused: Thus please help me to find the solution... Thanking You in advance. Billar :mad::confused: X|

      M Offline
      M Offline
      Michael P Butler
      wrote on last edited by
      #2

      Perhaps these articles on MiniDump[^] will help or these on logging[^] or these debugging tips[^] Michael CP Blog [^]

      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