| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | dapie is mirrors? |
jl>> - functions _hread and _hwrite are not supported.
JP> That's because they are 16:16 functions (the `h' indicates that they
JP> use huge pointers). Use _lread and _lwrite.
Hey, wake up, man! This is 32-bit programming we are talking about! _hread
and _lread are declared in Win32 API like this:
UINT WINAPI _lread(HFILE hFile, LPVOID lpBuffer, UINT uBytes);
long WINAPI _hread(HFILE hFile, LPVOID lpBuffer, long lBytes);
I don't see any 'huge' here :-)
JP> Better yet, use iostreams, POSIX, or functions.
JP> ( Sheesh! Dark Ages 16:16 programming. I had hoped that OS2PROG
JP> would be free of such crap. Mutter ... mutter ... )
You'll see more of such crap when the DAPIE is generally available and
Win32 programmers start asking porting questions here.
// Albert (Team OS/2) email: jla{at}to.icl.fi
--- GoldED/2 2.50
* Origin: Finland, Ice Hockey World Champion '96 ?? (2:221/360.20)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: 221/360 0 220/841 201/2104 109/347 716 13/25 396/1 270/101 712/515 @PATH: 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™.