查看单个帖子
旧 2009-05-06, 06:58 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】odamfcapp disappearing1

odamfcapp disappearing?!?
odamfcapp disappearing?!?
i know such things should make me shame about myself, but sometimes desperation is stronger than shame
i am modifying odamfcapp in order to make it suitable internally in my company. after a few changes, it stopped working as before. visual c++ 6.0 still correctly compiles and links it but, when running, the application window never appears!
it never stops with a runtime error or kind of. there are no infinite loops: the last changes i made just made order about structures, namespaces and other data structures.
not even it appears in windows' application bar! hit alt+tab and it won't show. the task manager correctly displays its presence; it's like windows had got a new service. it sucks most cpu resources, over 90%. i didn't change any project setting once i had begun working on the program.
reverting the changes didn't work, as i guessed.
it never happened such problems to me. as i am not much familiar with power debugging tools, i would be grateful for every hint. i can provide any necessary source file. thanks in advance.
mirko pontrelli.
last edited by mirkopontrelli; 30th march 2006 at 12:59 amfff">.

i managed to solve the problem. a typo in re-writing a definition of pointer increment operator made the program loop indefinitely. i copied it from my c++ book to save time and was punished. grrrr.
what i still found strange is the behaviour of the program i described in precedence. the typo was in a function of mine, so the program would have started normally and go looping after the appropriate menu voice was hit.
i wonder if anyone has ever found such behaviours.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)