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. image processing using VC++

image processing using VC++

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++debuggingquestioncode-review
4 Posts 4 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.
  • G Offline
    G Offline
    gentleguy
    wrote on last edited by
    #1

    all of my friends, urgent aid, actually i completed my system, but i would like to improve it. after i increased another menus, they what i increased can't work, previous still can work.but after debug, no errors, just several warnings, for instance,"conversion from 'double' to 'long', possible loss of data".who can help me for now? thank you. li zhiyuan all of friends, my system has a problem, it is urgent for me, who can assist me? thank you. my system is image processing using VC++,after i added 3 menus, they can't work, but after debug,no errors,just several warnings.thank you. li zhiyuan

    C M 2 Replies Last reply
    0
    • G gentleguy

      all of my friends, urgent aid, actually i completed my system, but i would like to improve it. after i increased another menus, they what i increased can't work, previous still can work.but after debug, no errors, just several warnings, for instance,"conversion from 'double' to 'long', possible loss of data".who can help me for now? thank you. li zhiyuan all of friends, my system has a problem, it is urgent for me, who can assist me? thank you. my system is image processing using VC++,after i added 3 menus, they can't work, but after debug,no errors,just several warnings.thank you. li zhiyuan

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      :confused: Man, your post is missing a lot of informations for us to help you. You even didn't described the problem. What does "It can't work" means ? Anyway, I have THE ultimate solution that can help you in every situation like that: use your debugger. It will provide you with all the information you need to track the problem.


      Cédric Moonen Software developer
      Charting control

      K 1 Reply Last reply
      0
      • G gentleguy

        all of my friends, urgent aid, actually i completed my system, but i would like to improve it. after i increased another menus, they what i increased can't work, previous still can work.but after debug, no errors, just several warnings, for instance,"conversion from 'double' to 'long', possible loss of data".who can help me for now? thank you. li zhiyuan all of friends, my system has a problem, it is urgent for me, who can assist me? thank you. my system is image processing using VC++,after i added 3 menus, they can't work, but after debug,no errors,just several warnings.thank you. li zhiyuan

        M Offline
        M Offline
        Muhammad Azam
        wrote on last edited by
        #3

        Hello li zhiyuan, the warning is due to the fact that your are assigning a double value to a variable of type long. i.e. double d = 3.5f; long l = d; and the warning says that you will loose your data and l will caontain only 3 instad of 3.5. if this is ok for you than you can suppress this warning by typecasting. i.e. double d = 3.5f; long l = (long)d; hope this answers your quetion. Also have you added message handler for the new menues that you are creating??:confused: -- modified at 7:31 Thursday 8th June, 2006

        1 Reply Last reply
        0
        • C Cedric Moonen

          :confused: Man, your post is missing a lot of informations for us to help you. You even didn't described the problem. What does "It can't work" means ? Anyway, I have THE ultimate solution that can help you in every situation like that: use your debugger. It will provide you with all the information you need to track the problem.


          Cédric Moonen Software developer
          Charting control

          K Offline
          K Offline
          kakan
          wrote on last edited by
          #4

          Cedric Moonen wrote:

          Anyway, I have THE ultimate solution that can help you in every situation like that: use your debugger. It will provide you with all the information you need to track the problem.

          My 5! :-D IMO, it seems as if there is a total lack of knowledge about debugging for certain posters. Personally, I single-step all vital code before turning it over to the users. It has saved me heaps of work, during the years.

          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