You are here:

C/Extracting Data from a Program

Advertisement


Question
Hey there.

Is it possible to extract a certain value from one program to another program (written in C). For instance, if Microsoft Word was running. Is it possible to write a program that extracts what has been typed in Word (for example) to my program?
Would really appreciate it if you could give me some pointers here. What would I need to do (generally).

Thanks
Daniel  

Answer
If whatever typed into word doc is saved and if your program knows the name of that file, it can read the word document and get the word.

But, remember that word has got its own format (Every file type has different formats/headers) and your program has to understand that.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.