Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recovering "lost" D2010 IDEs

I had explorer crash on Windows 7 (Aero bells and whistles are enabled) and (afrer explorer restart) all of running IDE instances are no longer accessible via Windows UI except one single instance. Processes are still here, so i want my unsaved changes back. What should i do?

Do not suggest memory dumps, i'm leaving it as very latest resort because recovering source code from dump requires considerable manual work.

Already sent WM_ACTIVATE messages to all top-level windows which belongs to bds.exe - no success, except couple of "file changed, reload?" prompts.


Resolved by sending WM_KEYDOWN and WM_KEYUP to all process windows.

Delete this question or leave open for more ideas? (Honestly, i've encountered such problem only once, unsure if solution will be useful to anyone). But never ever use ShowWindow on all windows, BDS have tons of windows which supposed to be hidden.


Probable indirect cause: i was dragging files from Explorer via Aero Peek thumbnails onto Project Manager, one of operation ended with strange artifact in the form of file icon which permanently stuck on desktop where Project Manager was.

like image 295
Premature Optimization Avatar asked Jun 12 '11 04:06

Premature Optimization


1 Answers

Do you think that the IDE is still running and responsive?

Could you send the keystroke Ctrl-Shift-S to Delphi from another app to execute a File, Save All command?

Tom

like image 119
RobertFrank Avatar answered Nov 02 '22 06:11

RobertFrank