| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Why thunk in OS/2? or at all? |
Michael Gleason wrote in a message to All: MG> I guess I am going to show how little I still know. But MG> under OS/2 why would you want to / need to thunk? MG> OS/2 since 2.0 is 32 bit so why do you need to call 16 bit MG> code? Why not completely use 32 bit code? There are several cases in which thunking is necessary. Many people are working with existing 16-bit OS/2 1.x programs, and may therefore have existing 16-bit OS/2 1.x modules or DLLs. In some cases, the DLLs may only be available in object form, so rebuilding them or porting them to 32-bit OS/2 is not an option. Using certain older features of OS/2 which remain 16-bit in OS/2 2.x, such as the Vio/Mou/Kbd API services, will require thunking, even when writing new 32-bit programs. There are some additional cases where people might write new 16-bit OS/2 code. For example, someone might want to use an IOPL segment, which is considered obsolete in 32-bit OS/2, from a 32-bit program. Also, many people have tools which make only 16-bit OS/2 targets, such as Borland Pascal for DOS with OS/2 kludges applied, and making 32-bit programs or libraries would require them to replace their tools. -- Mike ---* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107) SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809 @PATH: 323/107 170/400 396/1 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.