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
...
- 02-22-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 3
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!!!!
- 02-26-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
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!
- 02-28-2011 #3Just 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
- 02-28-2011 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
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!


Reply With Quote
