Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

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
0
puneet_mittal
Asked:
puneet_mittal
  • 3
  • 2
1 Solution
 
esoftbgCommented:
puneet_mittal,
please delete the second question which is equal to this one. You may delete it before someone post a comment about it ....
You don't need two equal questions
:-))
Emil
0
 
puneet_mittalAuthor Commented:
thanks a lots
0
 
esoftbgCommented:
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 ....
0
 
puneet_mittalAuthor Commented:
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.
0
 
esoftbgCommented:
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
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now