TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Brad Wardell
from: Mark Kimes
date: 1995-02-10 14:00:30
subject: Re: fopen in a thread

BW>Having a very strange problem with fopen in a thread.  It keeps
 BW>giving me a null pointer.  I am calling it with _beginthread and
 BW>not DosCreateThread.  I had no problems with this when I was
 BW>compiling under Borland 1.5, it seems to be with Cset 2.1 (and the
 BW>beta of 3.0). 
 
 BW>I'd appreciate any suggestions or ideas on why it is doing this.
 
CSet doesn't like the "t" modifier (i.e.
fopen(filename,"rt") won't
work, but fopen(filename,"r") will).

--- XHEd-OS/2 1.22
* Origin: The Pit (1:380/16)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809
@PATH: 380/25 396/1 3615/50 229/2 12/2442 711/409 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™.