Link to home
Start Free TrialLog in
Avatar of puneet_mittal
puneet_mittal

asked on

controlling a defined application by my application

i m working on a project in which i have to control different window's application with the help of my program in VC++.
For this i need the handle of that application and the Handle of different buttons used in that application.
so please help me because it is urgent for me.
and please send a copy of solution to my mail id puneetmittal2003@yahoomail.com
thanks a lot
ASKER CERTIFIED SOLUTION
Avatar of esoftbg
esoftbg
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of puneet_mittal
puneet_mittal

ASKER

thanks a lots
excuse me puneet_mittal,
I don't deserve the points you gave me, I did not answer your question (sorry I don't know this answer). Why did not wait more, may be someone would answer this question. So many points for a suggestion to delete a duplicated question ?
I am confused ....
yaa my dear friend
this thanks for the suggestion for guiding me.actually i m new in this group.well donot worry about the solution.but can u solve my 1 more problem.
problem:how can i take/send the data through  serial port with VC++ program.
Hi puneet_mittal,

There are two answers:
1). Use:  ActiveX component MSComm32.OCX
2). Use:  CreateFile() CloseHandle() ReadFile() WriteFile() GetCommState() SetCommState() DeviceIoControl()

First from:                                                              
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn_serial.asp

And then, because here is the delicate part from:        
http://www.codeproject.com/win32/overlappedio.asp

Pro solution:
http://www.ni.com/mstudio/whats_new.htm

Good start point:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devio/base/about_communications_resources.asp