Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I am new to linux programming. I have a necessity of using the following windows APIs on linux platform. Is there any APIs in linux? 1. RaiseException 2. PostThreadMessage ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    3

    Question Exception handling and posting message in linux


    Hi,

    I am new to linux programming. I have a necessity of using the following windows APIs on linux platform. Is there any APIs in linux?

    1. RaiseException
    2. PostThreadMessage

    Thanks in advance!!!!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,392
    In what context do you need to use these constructs? In user space, or kernel?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Feb 2011
    Posts
    3

    Exception handling and Messages

    Hi,

    I am in user space. I wanted to port from windows to linux.
    Hence i wanted alternates for these APIs.

    Regards,
    karthik

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,392
    This is called "vendor lock-in". Writing software to Windows API's really does lock you in to Windows systems. Writing to POSIX API's on the other hand are much more portable, including from Linux to Windows and vice-versa. Good luck! FWIW, I have a LOT of experience developing platform neutral software of the most complex type, including GUI front ends. For those I utilize platform-neutral tool kits like Qt or Wx. Qt is quite excellent, and I have used it very productively for such purposes.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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