 |
|
 |
Hi Rama Krishna Vavilala,
I am not able to run your application. demo and code both not work in VS 2008.
How to get Window calc properties using using your application. (Like button size, color, label color, font, font size).
i have accessibility project but its not given font size, colors, etc....
Even UI Automation also give some of properties. But i need all properties. i fount one application "Test complete". But its test application product but i need only properties.
Please Help me if you know anything.
Useful link :http://msdn.microsoft.com/en-us/library/33134sx6%28v=VS.80%29.
|
|
|
|
 |
|
 |
In the WHSPYhook code, it i s monitoring all the messagess and hooking it. Iam not sure how to filter the specfic message for explae I have to hook only for Menu click and proceed.
Also Iam not understand that what is the function of the following code?
SetEvent(hEvent);
//Post a simple message
PostThreadMessage(threadID, WM_NULL, 0, 0);
Thanks,Mohan
|
|
|
|
 |
|
 |
I have tried to use the same techique (hook process )for multithreaded application which is running on Dual core processor. But it is creating some syncronization issue and with in one stacktrace multiple commands are getting executed.
It would be greatful if it getting resolved .Any thoughts?
Thanks, Mohan
|
|
|
|
 |
|
 |
Very, very nice. thanks!
Miguel Barros - Developer
t3k.pt
|
|
|
|
 |
|
 |
Hi,
I copy the source, compile/rebuild the project and then run the application. If i ask for one properties detail, close the property window, close the application, both .dll are still in use ....why? is there something missing or something to free? Is it possible to force the dll to be unloaded when closing the application or the only way is to close the application with the injected dll???
Thanks for help!
|
|
|
|
 |
|
 |
Do you know if this process can be used on a WindowsCE device, or are some of the C++ commands specific to the desktop?
|
|
|
|
 |
|
 |
Hi Rama,
Are you planning on writing the article about injecting .NET assemblies into arbitrary processes anytime soon? I'm thinking of writing an article about using wfspy to do some automated testing (with due credit to you, of couse), so if you are not going to write about it, I could explain how it works.
|
|
|
|
 |
|
 |
S. Senthil Kumar wrote: thinking of writing an article about using wfspy to do some automated testing
Go Ahead!
I was planning to write an article on assembly injection, but somehow I am getting enough time to do that.
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan
|
|
|
|
 |
|
 |
great program!
wat's the URL of the new article?
|
|
|
|
 |
|
 |
I'm working on a GUI automation project. For .Net apps, it would be very helpful to be able to access all of these properties programatically. I'm sure I'm missing something obvious in the code, but could anyone detail or point me at an example of how to do this?
When working with the control, I will already have determined the hWnd. Given that, I'm looking to retrieve specific property information from the control (what properties would depend on the control and what is needed). Thanks for any help pointing me in the correct direction.
|
|
|
|
 |
|
 |
I'm also looking for a similar feature.I'm trying to build the program so that it can monitor specific open windows and monitor a few controls in those open windows and it has to monitor both managed and unmanaged applciations. Has anyone built such a program or have any suggession on this?
Thanks
Charan
|
|
|
|
 |
|
 |
A Great util. thank you.
"In quiet and silence, the truth is made clear."
|
|
|
|
 |
|
 |
Hey ... I have added functionality to synchronize the tree view if it can find the window you are spying on ... would you like you incorporate this into the utility?
Note: the above feature only makes sense if you understand that I am using Don Kackman's (see below) improvement of a crosshairs to help the user locate the window they want to spy.
|
|
|
|
 |
|
|
 |
|
 |
I was very disappointed with ManagedSpy. Your utility kicks butt over it. ManagedSpy needs everything to be serializable in order to even show up in the properties window.
I personally think that Windows Forms Spy is awesome and is an invaluable tool for user interface developers. I think you would have a lot more interest in this utility if you incorporate the crosshairs that Don (again below) suggested. This allows the user to quickly find the window they are looking for.
Btw, I have already converted your utility to .NET 2.0. However, the .NET 1.1 executable can spy both .NET 1.1 and .NET 2.0 applications while the .NET 2.0 wfSpy executable can only spy .NET 2.0 applications. So ... the .NET 1.1 application seems to be more useful in that regard.
Finally, several other feature requests have come to me (as a result of my championing this utility at our company). As time allows, I might slip some more of these in. Of course, I'll share the wealth with the Code Project community as I do so.
|
|
|
|
 |
|
 |
I'm trying to make a managedSpy that list .Net 1.1 and 2.x process/controls...
How did you convert this program to list both .net version??? is the modified version is available somewhere??
Thanks!
lsdisciples@hotmail.com
|
|
|
|
 |
|
 |
I have responded to you on my blog.
|
|
|
|
 |
|
|
 |
|
 |
Still I want to use your tool. Can you please change the tool for .NET 2.1 and publish it?
Thanks,
Mohan
|
|
|
|
 |
|
 |
When using the tool compiled in VS2003 and trying to view application that have been compiled in VS2005 it fails to find the windows.
I've tried to compile the code in VS2005 but it fails to with the following error message.
Error 1 Command line error D8016 : '/MT' and '/clr:oldsyntax' command-line options are incompatible cl
|
|
|
|
 |
|
 |
Yes, In .NET 2.0 the windows forms class names are different. I will update the article. There are few other changes.
My Blog
|
|
|
|
 |
|
 |
Thanks for the quick response, could you please let me know when the article and source code will be available.
Thanks
|
|
|
|
 |
|
 |
I am also getting the same error
Error 1 Command line error D8016 : '/MT' and '/clr:oldsyntax' command-line options are incompatible cl
Also when I try to call these dlls from other project(VB.Net) ,Iam getting the following error.
"Managed Debugging Assistant 'LoaderLock' has detected a problem in 'F:\VBSource\bin\Debug\Project1.exe'.
Additional Information: DLL 'F:\VBSource\bin\Debug\spyhook.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang."
But it was working fine for VS2003.
Can you please give me the solution.
Thanks,
Mohan
|
|
|
|
 |
|
 |
Very impressive!!!!!!!
Super, GREAT!!!!
Flauzer!!!
|
|
|
|
 |
|
 |
I am really impressed with this excellent program.
One question: Is there really any problem with a different .NET version?
> The included wfspy works only for .NET windows 1.0.3705.
> If you want the tool to work with .NET 1.1, please build the code using VS.NET 2003.
I have tried it without rebuild but can't notice any problem. It is working fine.
> If you use wfspy to view a window in an application that uses a different .NET version, strange results may occur.
I have aloso tried this case but can't notice any problem.
I have used wfspy built by VS.NET 2003 to view a window in an application that was built by VS.NET 2005 beta2.
It is working fine.
Can anyone help me?
Thanks,
YamaK
|
|
|
|
 |