Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all! I'm using ubuntu 9.04; I have a large project in windows that I want to "port" it in linux. It uses IPC mechanism "Shared memory" and also "Critical ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    27

    Ask for a documentation to port a windows program to linux?!

    Hi all!

    I'm using ubuntu 9.04;

    I have a large project in windows that I want to "port" it in linux.
    It uses IPC mechanism "Shared memory" and also "Critical Section" APIs in windows, but unfortunately I have no good reference to change
    these windows APIs to their equivalent in linux?

    Is there a comprehensive documentation or reference for this issues?
    I mean a table containing the equivalent APIs or systemcalls in windows and linux!

    For example, what's an alternative for the "InitializeCriticalSection" API in linux?
    Or an alternative for "CRITICAL_SECTION" structure?

    Or even an alternative for "RegOpenKeyEx", although we don't have registry in linux!!

    TIA.

  2. #2
    Linux Enthusiast Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    717
    first of all: stop double posting (here).

    answer: rewrite the windows specific stuff POSIX compliant.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...