ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I understand that included in the average linux distribution are certain header files for things like media playing and other hardware/software interfaces.
Where might I find more specific information about these and how I would go about using them in either c or delphi if possible?
I was asking in a very general way, and have not actually attempted anything yet, but I will try and explain more thouroughly:
I don't know if these are specifically kernel headers, but while installing my system I saw a file called something like "Multimedia header files" get copied across. I took this to mean that somewhere on the system is a header file I can either #include or put in the uses list (delphi), and then have acess to a variety of abstract commands such as playmedia, for example (just a guess!!). Also knowing a small amount of how linux is built up, there must be a few of these available to use in linux programming.
All I need to know is where to find them really, and I can probably work out the rest.
Also on a related note, can I link c object code (precompiled) into delphi?
Include GTK+ or QT header files and use those libraries classes and functions which will allow you to play music, etc. Linux does provide system header files that you can include in a C application but I'm not sure what they offer, not having used them myself.
Originally posted by Roy-Svork Ahh, much good is this. Thankyou, and if you can give me some links to documentation for these I would be furtherly greatful.
GTK+ link www.gtk.org
There is a tutorial on the website for GTK+2.0 which is the newest version.
Topic is posted quite a long time ago, but I would like to request for general documentation on using header files.
I'm developing one small app for my school and have a problem that can be solved using device mapper headerfile ( /usr/include/libdevmapper.h ). But since it's only core skeleton of the solution, I don't know how to use those functions and data-types that are defined in this header file. I peeked into some app's that take advantage of that specific library, but they are rather advance for me to get information I need.
I have a quite basic knowledge of C, but I'm willing to learn more, if I can have good documentation.
So if you have good URL in your bookmarks or know any good sites, that I can use. Please share!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.