sivakumar.kandasamy
New member
- Joined
- Mar 13, 2006
- Messages
- 2
- Programming Experience
- Beginner
i founded the window name and class name of one windows application through spy software..
i want to automate that software..
that is the mouse should automatically should go and click the button in that application.
i found that we can acheive that using
FindWindowEx() Function.
But when i compile the coding it shows the following error..
PInvokeStackImbalance
A call to PInvoke function 'Object_Spy!Object_Spy.Form1::FindWindowEx' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
can i know how to solve this problem and can any one give me the coding to work....
thanks in advance....