OS/2, eCS & ArcaOS - Technical > Programming

Table of similar API calls for OS/2 and Windows ?

(1/3) > >>

Martin Vieregg:
Does a tutorial or list of corresponding API calls for OS/2 and Windows, like DosCreateNPipe (OS/2) and CreateNamedPipe (Windows) exist somewhere?

Martin Iturbide:
Hi Martin

I don't understand exactly if you need the documentation of the OS/2 CPI API.
Here on the EDM/2 I had tried to consolidate as much as possible of OS/2 development related documentation.

- http://www.edm2.com/index.php/The_OS/2_API_Project
- http://www.edm2.com/index.php/Control_Program_Functions_List
- http://www.edm2.com/index.php/DosCreateNPipe
Or maybe the wiki search:
- http://www.edm2.com/index.php?title=Special%3ASearch&profile=default&search=DosCreateNPipe*&fulltext=Search

I hope this helps

Regards

Neil Waldhauer:
The OS/2 API and the Win32 API are very similar as of 1999. After the Windows 2000 beta things really started to diverge. So the best document I can think of to use is 1999 MSDN. They printed 1000's of sets; I'm sure there are some still around.

The advantage of this over newer docs is that in 1999, Win32 contained little that wasn't in OS/2.

I have not seen a table comparing the API. There must have been one in the ODIN project.

The OS/2 API as described in the redbooks is better documented than Win32 in the MSDN. So the IBM OS/2 docs were actually useful to program Win32. Now you can just type a Windows API function name into google and get the documentation page.

Dave Yeo:
There's also Open32, which implemented lots of Win32 functions in OS/2. It is documented in the Toolkit, \os2tk45\book\open32.inf. It has mostly been super seeded by Odin but I assume the basic library is still there.
There are also some libc functions such as _beginthread() that are identical between Win32 and OS/2. Of course now Win32 uses _beginthreadex() for added security.

Martin Iturbide:

--- Quote from: Dave Yeo on July 12, 2020, 05:38:52 am ---. It is documented in the Toolkit, \os2tk45\book\open32.inf. ...

--- End quote ---

Just in case here it is a link to it: http://www.edm2.com/index.php/Open32

Regards

Navigation

[0] Message Index

[#] Next page

Go to full version