开发者

Delphi application hanging up

This Delphi 2006 application has run successfully for several years. I have narrowed it hanging up to some point b开发者_开发问答efore it gets to the "initialize" in the DPR file so its hanging up before any written code gets executed. I press the "Run" icon and it never displays anything else, just stops running. Not much info to give, any ideas?


There's a lot of things happening before the Initialize line runs. Most obviously, the initialization sections of all your units are running. My psychic debugging senses say you ought to check there. Build with Use Debug DCUs off (yes, off, not on; it helps a lot on this exercise,) run by hitting F7 instead of F9, and use F7 repeatedly to step through your chain of initializations. Somewhere along the line you'll probably find whatever's making your program hang.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜