TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Francois Thunus
from: Thomas Seeling
date: 1996-10-08 22:40:34
subject: silly findfirst question

Hallo, Francois!

*** Am 05. Oktober 1996 um 18:54 schrieb Francois Thunus an All:

 FT> /* test of findfirst / findnext under emx */
You don't test findfirst, you are testing the OS/2 API function DosFindFirst.

 FT>    char         *Search;
 FT>    FindBuf=malloc(sizeof(FILEFINDBUF3));
 FT>    strcpy(Search,argv[1]);
You miss something.

 FT> 2) when compiled to dual standart (ie dos/os/2 exe with rsx/emx.dll)
 FT> it still works under os/2 but bombs out with GP in a dos box. Related
 FT> to previous ? what to do ?
emx.exe is not an OS/2 emulator under Dos. Use the functions that are
available with Dos, i.e. the C runtime functions
opendir()/readdir()/closedir().


Tschau...Thomas

--- E3-32/1.11-32/2.50+
* Origin: Die TeX-Box +49-6034-930021 V.34 -930022 ISDN 24h (2:244/1130.42)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 244/1130 24/999 888 396/1 270/101 712/515 711/808 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™.