![]() |
【转帖】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. |
所有的时间均为北京时间。 现在的时间是 12:35 PM. |