Windows API and Linux analogy

Reply

Join Date: Jul 2006
Posts: 4
Reputation: Zeking is an unknown quantity at this point 
Solved Threads: 0
Zeking Zeking is offline Offline
Newbie Poster

Windows API and Linux analogy

 
0
  #1
Dec 27th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 7
Reputation: CubedStooge is an unknown quantity at this point 
Solved Threads: 2
CubedStooge CubedStooge is offline Offline
Newbie Poster

Re: Windows API and Linux analogy

 
0
  #2
Dec 27th, 2007
Originally Posted by Zeking View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,951
Reputation: Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of 
Solved Threads: 214
Featured Poster
Duoas's Avatar
Duoas Duoas is offline Offline
Posting Virtuoso

Re: Windows API and Linux analogy

 
0
  #3
Dec 27th, 2007
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.
Last edited by Duoas; Dec 27th, 2007 at 8:52 pm.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC