Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Mapping the Windows XP APIs to Linux

Mapping the Windows XP APIs to Linux

Scheduled Pinned Locked Moved C / C++ / MFC
tutoriallinuxjsonhelpquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    IamPoojaa
    wrote on last edited by
    #1

    Hi Friends, I have a task to write a new API such that it should commonly work for both Win XP and Linux operating systems. For example, if I am writting an API as: MyCreateThread(...) executing it on either XP or Linux it should work. Can anybody suggest how to wrap in such above said manner. Any relevant content ??? From where I can get? Kindly help. Thanks in advance

    poojaaa

    C M 2 Replies Last reply
    0
    • I IamPoojaa

      Hi Friends, I have a task to write a new API such that it should commonly work for both Win XP and Linux operating systems. For example, if I am writting an API as: MyCreateThread(...) executing it on either XP or Linux it should work. Can anybody suggest how to wrap in such above said manner. Any relevant content ??? From where I can get? Kindly help. Thanks in advance

      poojaaa

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      What do you want to make portable exactly ? A GUI, threading system, ... ? Anyway, I suggest you take a look at wxWidgets[^], it is a cross-platform GUI library which has also support for threading on so on. Take a look at the features to see if it does what you are looking for. No need to reinvent the wheel.

      Cédric Moonen Software developer
      Charting control [v1.3]

      I 1 Reply Last reply
      0
      • I IamPoojaa

        Hi Friends, I have a task to write a new API such that it should commonly work for both Win XP and Linux operating systems. For example, if I am writting an API as: MyCreateThread(...) executing it on either XP or Linux it should work. Can anybody suggest how to wrap in such above said manner. Any relevant content ??? From where I can get? Kindly help. Thanks in advance

        poojaaa

        M Offline
        M Offline
        malaugh
        wrote on last edited by
        #3

        For mapping windows threads to linux, take a look at this article http://www.ibm.com/developerworks/linux/library/l-ipc2lin1.html[^ For GUI, I wrote an article on using GTK on Linux and Windows, search for GTK in codeproject and you should find it.

        I 1 Reply Last reply
        0
        • M malaugh

          For mapping windows threads to linux, take a look at this article http://www.ibm.com/developerworks/linux/library/l-ipc2lin1.html[^ For GUI, I wrote an article on using GTK on Linux and Windows, search for GTK in codeproject and you should find it.

          I Offline
          I Offline
          IamPoojaa
          wrote on last edited by
          #4

          Thank you for your reply. I had already gone thru this article. Anything else I could know more about my query.

          poojaaa

          1 Reply Last reply
          0
          • C Cedric Moonen

            What do you want to make portable exactly ? A GUI, threading system, ... ? Anyway, I suggest you take a look at wxWidgets[^], it is a cross-platform GUI library which has also support for threading on so on. Take a look at the features to see if it does what you are looking for. No need to reinvent the wheel.

            Cédric Moonen Software developer
            Charting control [v1.3]

            I Offline
            I Offline
            IamPoojaa
            wrote on last edited by
            #5

            Dear Friend, its not only about the GUIs but I need the simulation or mapping of APIs of all the services APIs supported by Win XP OS / Linux OS Thanks in advance ... if you could help me..

            poojaaa

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups