LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2006, 09:57 AM   #1
Puckaroo
LQ Newbie
 
Registered: Nov 2004
Location: Spain
Distribution: Ubuntu 5.10
Posts: 4

Rep: Reputation: 0
Question How to call an app from my c++ code?


Hi, first of all sorry if this is not the place to post this or if someone has already answered the question before, but I haven't been able to find it just yet.

The thing is, say i want my program to open k3b, add some files to a cd project, that i would have previously chosen and burn them, is there a way to do that?, or maybe write a text and an email address, and then open kmail (yup, using kde here, lol) and have it send the text to the email address.

What i want to know is, in my code, how to call those apps and give them the parameters needed. And also where do I find out what those parameters are.

I would really appreciate any ideas or links to manuals or anything you can point me to. Thank you very much.

Bbye.
 
Old 10-30-2006, 10:28 AM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
you would have to look up the KDE APIs i would imagine. if you simply want to open a program you could use: system("programName");
but if you want to 'talk' to the program i imagine youd need to refer to the KDE APIs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
function call in kernel code vishalbutte Programming 1 02-15-2006 01:32 PM
what is the call to determine the app you are running in erwinfletch Programming 3 01-11-2006 09:52 AM
how to Call my C code at start of kernel? cranium2004 Programming 14 05-14-2005 01:52 AM
Looking for app/applet don't know what to call it? Palin Linux - Newbie 3 02-15-2003 01:33 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration