| | |
Windows API and Linux analogy
![]() |
•
•
Join Date: Jul 2006
Posts: 4
Reputation:
Solved Threads: 0
Hey there,
I have been working with some functions from windows API and now I need to find similar set of functions for Linux. Actually I need functions for Linux that will pretty much do the same or similar thing. I have been searching on google trying "Linux API" , but I couldn't find any centralised database of functions offered for Linux. Now not to be missunderstood I am aware of fact that Linux doesn't have it's own API that comes with certain distributions, and it should be installed as additional package or something. The functions I was using in WIN API are following:
GetKerningPairs
PatBlt
MapDialogRect
If you can't help me I would be thankful for link to some good Linux programmers comunity.
Thanks
I have been working with some functions from windows API and now I need to find similar set of functions for Linux. Actually I need functions for Linux that will pretty much do the same or similar thing. I have been searching on google trying "Linux API" , but I couldn't find any centralised database of functions offered for Linux. Now not to be missunderstood I am aware of fact that Linux doesn't have it's own API that comes with certain distributions, and it should be installed as additional package or something. The functions I was using in WIN API are following:
GetKerningPairs
PatBlt
MapDialogRect
If you can't help me I would be thankful for link to some good Linux programmers comunity.
Thanks
•
•
Join Date: Dec 2007
Posts: 7
Reputation:
Solved Threads: 2
•
•
•
•
Hey there,
I have been working with some functions from windows API and now I need to find similar set of functions for Linux. Actually I need functions for Linux that will pretty much do the same or similar thing. I have been searching on google trying "Linux API" , but I couldn't find any centralised database of functions offered for Linux. Now not to be missunderstood I am aware of fact that Linux doesn't have it's own API that comes with certain distributions, and it should be installed as additional package or something. The functions I was using in WIN API are following:
GetKerningPairs
PatBlt
MapDialogRect
If you can't help me I would be thankful for link to some good Linux programmers comunity.
Thanks
Linux/unix evolved differently than Windows in the sense that no one company runs the show. So there is no one api. You have system calls that interact with the kernel e..g i/o functions, process control, etc. There are a number of different GUIs that can be run in any given distribution e.g. GNOME, KDE, X, etc. Each of these has its own api though they all provide basically the same functionality. And, of course, their are a multitude of APIs for any add-on or 3rd party packages.
I am not sure what those functions you are looking for do. One looks as if it has to do with a GUI dialog. If that is the case you first need to decide what GUI you are going to use in linux.
All those functions are for dealing with GUI stuff. Linux is an operating system. On top of that sits "X", the GUI. Unless you are a fanatic, you don't want to deal with xlib directly, so you'll have to choose a GUI framework. (I just responded to a similar post here: http://www.daniweb.com/forums/thread102629.html).
Good luck.
Good luck.
Last edited by Duoas; Dec 27th, 2007 at 8:52 pm.
![]() |
Other Threads in the C++ Forum
- Previous Thread: Help needed to solve C++ query
- Next Thread: help to program broadcast in c++
| Thread Tools | Search this Thread |
api application array based binary bitmap c# c++ c/c++ char class classes code coding compile compression console conversion count cpm delete deploy deque desktop developer dialog directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer introductory java lib linkedlist linkednodes linker loop looping loops map math matrix memory multiple news node numbertoword output parameter pointer problem program programming project python random read recursion reference rpg security sorting string strings temperature template test text text-file tree url variable vector video whyisthiscodecausingsegmentationfault win32 windows winsock wordfrequency wxwidgets






