image processing using VC++
-
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
-
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
: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 -
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
Hello li zhiyuan, the warning is due to the fact that your are assigning a
double
value to a variable of typelong
. i.e.double d = 3.5f; long l = d;
and the warning says that you will loose your data andl
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 -
: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 controlCedric 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.