providers of useful information get many bonus points

Mar 17, 2008 22:03

I'm facing a programming problem I'm not sure quite how to approach ( Read more... )

geekspeak

Leave a comment

Comments 3

anonymous March 18 2008, 15:02:15 UTC
First question: is this a single .exe, or are there .dll files involved? If there are .dlls, have you tried using Python ctypes to load them and examine their APIs? If the app is well-architected, you may be able to get away without even messing with the .exe.

Second remark: there's a bunch of debugger functionality in Windows. A debugger can attach to a running process, stop it, step it, inspect its variables and so forth. I'm sure you don't want to write a whole debugger; I'm equally sure the API is the product of the same kind of minds that brought us .obj-file format: bizarre, obscure & obtuse. But if you're sufficiently determined, I believe the hooks are there to create from scratch a new "remote" debugger. Some subset of that should allow you to at least understand what the app is doing.

Making it do something new could be another story. Again, your best bet will be if the functionality you want to intercept/extend is launched by a call into a DLL.

Reply

anonymous March 18 2008, 15:03:49 UTC
Meant to mention: you know that ctypes is bundled with Python 2.5+, yes?

Reply


GUI Run Time Integration (Virtualization of presentation Objects anonymous March 18 2008, 23:39:07 UTC
Check out www.openspan.com - a visual approach to application integration of running applications (supports win32, web, green screen, Java etc.,)

Reply


Leave a comment

Up