spy++

"Spy++ has encountered a problem in the message hook"

I am deep in the middle of troubleshooting some Windows API messaging problem and I find that Spy++ is not working anymore. It doesn't even work on Notepad. On some occasions, it brings up this message: --------------------------- Microsoft Spy++ --------------------------- Spy++ has encountered a problem in the message hook. To preven...

Spy++ for PowerBuilder applications

Hi, I'm trying to write a tool which lets me inspect the state of a PowerBuilder-based application. What I'm thinking of is something like Spy++ (or, even nicer, 'Snoop' as it exists for .NET applications) which lets me inspect the object tree (and properties of objects) of some PowerBuilder-based GUI. I did the same for ordinary (MFC-...

Spy++-like tool for OpenGL render trees

Hi, is anybody here aware of a Spy++-like tool which lets me visualize the object tree of graphical elements in an OpenGL scene? If possible (Spy++ lets you do this), it would be great if the tool didn't require support being built into the application. I'm not too familiar with OpenGL yet, but maybe what I'm after is a view on the tre...

How can you read values from an open application in Windows?

I want to create a program or use a program that will read the memory values out of another application. Does anyone know of an application/library that will do this? The target app is this. I would like to read the exchange rate values from it. I'm an experienced c# programmer, but have never worked with the Win32/user32 api ...

Is there a Spy++ like utility for WPF?

As a “hardcore” WinForms programmer from a Win32 background I have always used Spy++ to understand what my applications are doing at the UI level including: Seeing what events the controls are sending to each other. Seeing the control tree at run time Finding the control that is drawing part of the display I then often search for ...

Read Items from Control in another Application

I have an MDI application for which I do not have source for. I believe it is an MFC application. I need to automate some of it's functionality. It has a form with a listview type control on it. I would like to be able to read that list from my new C# application to know what the items are so I can select the correct one. I have tried ...

I want Spy++ but I don't have Visual Studio

I only have SQL Server 2008 Client tools. I would like to use Spy++, but of course, it only comes with the Visual Studio installation. Is there a good replacement for Spy++ that I can use? ...

How can I detect if a thread has windows handles?

How can I programmatically detect if a thread has windows handles on it for a given process? spy++ gives me this information but I need to do it programmatically. I need to do this in C#, however the .net diagnostics libs don't give me this information. I imagine spy++ is using some windows api call that I don't know about. I have ac...

How can I get functionality similar to Spy++ in my C# app?

I'm interested in working on a plugin for Keepass, the open-source password manager. Right now, Keepass currently detects what password to copy/paste for you based off of the window title. This prevents Keepass from detecting the current password you need for apps that don't actively update their window title based on the current site...

Attach window to running application

I have customer that uses older, custom built ERP application for which they don't have source code and company that developed it does not exist any more. Application is developed in 2000 and it's built with Delphi. Since last executable is from 2003, it could be D6 or D7. On one important form there are some fields where customer woul...

Can I add custom evaluator for spy++ show to my WM_USER?

Hi, We have an old legacy app that we need to reverse engineer how it works. (The documentation has gone missing.) Our application is communicating with a 3rd party program using windows messages (WM_xxx). So first attempt is to start spy++ and look at what messages are sent when certain events occur. We notice that most events are W...

EM_GETLINE fails when Spy++ is running

There is an edit box in some dialog in my application, which is running on Windows XP. When I issue EM_GETLINE on this control, it returns its contents and it's ok, but when I start Spy++ the control suddenly starts behaving incorreclty and always returns an empty string. What might be a problem? ...

Spy++ like program for viewing control values

I'd like to view and export the values of a combobox. What program can I use to allow me to get the values in a control inside another application? ...

Spy++ and windows closed when they lose focus

Hi, I would like to know if there is a way with Spy++ to get the properties of a window that is automatically closed when it loses the focus (which is what happens when I switch to Spy++). Thanks! ...

Automating Windows GUI Testing - FindWindowEx and Control Classes

I've inherited a C# window's application that I'm not real crazy about. I've got a looming deadline and I'm scared to death that some of my changes might be having adverse effects on existing functionality. I've got a hobbyist background to RoR and I'm fairly comfortable with testing in that framework (using both RSpec and Cucumber). ...

Tool for examining the structure of a windows forms application

Hi, does anybody know a tool for examining the structure of a windows forms application? I want to get information about every control on the form like buttons, labels etc. I tried Spy++ but it tells me only some information about the window structure, but nothing about the internal controls. Thanks! Mark ...

Desktop Application - Datagrid data parsing

I have a 3rd party desktop weather application. It has a datagrid with few columns. I need to read all the non-zero enteries of 3rd column. I started exploring AutoHotKey, but hit road blocks. Now, looking into Microsoft Spy++. It is displaying the control names, buttons, text on the main control. But, it is not displaying the contents o...

Spy++ for Java Swing applications

Is there an equivalent for Spy++ for java swing applications? I work with a third party application that contains a huge number of screens that get invoked via a reflection based mechanism. Whenever an issue occurs the only way to locate the problem code is to search through the source (we have access to the source but cannot fix and d...

Windows API: Hide a button which is not a child window

I have a program, where I need to disable a specific button on toolbar. "Save" on the Adobe Reader control. I know it's possible to hide a control by locating its window handle. Using Spy++, I found the required toolbar. It has buttons and text fields. Although text fields are child windows of the toolbar, buttons aren't windows at all...

What happened to ManagedSpy ?

ManagedSpy is supposed to be the .NET equivalent of Spy++, but somehow the download page is now not availeble any more. Anyone who knows why? Anyone that knows a replacement? --jeroen ...