473,407 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

How to control another program using C?

Hi I could really use some help with this one! I am doing a final year project for a university degree and I need to write code in C/C++ to do the following

1) Open the program "code composer studio"
2) Open a project file (.pjt) within this program and run (debug) it.

Any help would be appreciated greatly. Thanx
Mar 18 '08 #1
3 2716
Sick0Fant
121 100+
Hi I could really use some help with this one! I am doing a final year project for a university degree and I need to write code in C/C++ to do the following

1) Open the program "code composer studio"
2) Open a project file (.pjt) within this program and run (debug) it.

Any help would be appreciated greatly. Thanx
If you are programming for windows, use ShellExecute() and if you're using linux or unix, use exec()
Mar 18 '08 #2
sicarie
4,677 Expert Mod 4TB
Hi I could really use some help with this one! I am doing a final year project for a university degree and I need to write code in C/C++ to do the following

1) Open the program "code composer studio"
2) Open a project file (.pjt) within this program and run (debug) it.

Any help would be appreciated greatly. Thanx
That sounds like a good project to use OS level API calls. I'm not familiar with "code composer studio" is that a Windows or Linux program?
Mar 18 '08 #3
fual
28
Hi I could really use some help with this one! I am doing a final year project for a university degree and I need to write code in C/C++ to do the following

1) Open the program "code composer studio"
2) Open a project file (.pjt) within this program and run (debug) it.

Any help would be appreciated greatly. Thanx
I seem to remember VS2005 having some application called spy++ (or something with the name spy in) which gives you memory handles of controls in a program. That might help you get access to the functionality you need. However the one time I tried to use it it seemed like a total swine (not spy++ using the handles).
Mar 18 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Mobile Boy 36 | last post by:
I'm trying to make a very simple Textbox with a FocusColor property...When the focus changes to the control, the backcolor must change automaticly to the color set by the focusColor property....
9
by: Alvin Bruney [MVP] | last post by:
Exceptions must not be used to control program flow. I intend to show that this statement is flawed. In some instances, exceptions may be used to control program flow in ways that can lead to...
3
by: tony lock | last post by:
I am writing a simulation program, the main classes inherit from a base class which itself inherits from Control. I am using reflection to serialize these objects including the fields from control....
2
by: John | last post by:
Hello everyone, I'm currently writing a program to keep track of schedule changes at a school. The goal is to have someone using the program to declare changes, then the program writes a html...
11
by: Hoku | last post by:
I am using dual monitors on a dual head ATI AGP4x video card. I installed the Nov 11 2005 release of ATI's catalyst control center with Hydravision to manage the dual monitor setup. I recently...
24
by: tizi_de | last post by:
Hello all, I'm looking for a sample program in C to print out lines not to the standard MS Dos Box but into a different control e.g. text control. Has C the possibility to do printouts to a...
17
by: Kbalz | last post by:
I'm developing a Wizard type program, and I'm flipping between steps by using a TabControl.. buttons on each tabPage move to the next or previous tabPage. When I press CTRL+Tab however, the...
0
by: ChopStickr | last post by:
I have a custom control that is embedded (using the object tag) in an html document. The control takes a path to a local client ini file. Reads the file. Executes the program specified in...
2
by: R. K. Wijayaratne | last post by:
Hi everyone, I am trying to develop a Winforms app using .NET FW 1.1 (don't want to use 2.0 for this particular project) and am trying to use the IE control. It compiles and builds without...
4
by: David | last post by:
I'm using the AxSHDocVw.WebBrowser control to download data from a webpage at work (it's an internal page on my company's intranet). The page produces a runtime error after a while and the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.