| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Help: OS/2 version |
Doug Glenn wrote in a message to All: DG> If anyone knows anything about OS/2 software development, I DG> could use a hint. The only thing we're lacking in getting KBBS DG> completely ported over is we seem to be having trouble opening DG> more than 20 files simluteneously. How do we extend the number DG> of files that may be opened? OS/2 defines API calls to do this, DosSetMaxFH() and DosSetRelMaxFH(). If you are programming directly to the OS/2 API using DosOpen() and so forth, these will work. However, nearly all high level languages have some facility for wrapping these API calls with critical helper routines. The C language defines fopen() in such a way that it returns a pointer to an allocated FILE object. Most C compilers have a fixed number of FILE objects available, and they have different ways of expanding this number. With Borland C, for example, you change a value in a header and recompile the run-time library; with Watcom C, you call the __grow_handles() function. DG> I can't find this in any of the IBM books or development DG> manuals... seems like such a simple thing if I only knew where DG> to look for it. Any help will be appreciated. This is discussed in the Control Program Reference Guide, GUIREF20.INF. -- Mike ---* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107) SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 517 628 713/888 800/1 7877/2809 @PATH: 323/107 150 3615/50 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™.