TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Garner
from: Henrik Falk
date: 1995-01-10 10:36:50
subject: _beginthread() versus Dos

who wrote to Edwin Groothuis:

EG> I understand the part of the object windows, but what do they mean
EG> with the ``C run-time library functions?''

 PG> Undoubtably you will get many replies, but the C Runtime
 PG> Library means printf, strcpy, scanf, memcpy, etc, etc.  I.e.
 PG> all of the functions that are considered standard C.

I was very confused in the beginning too. I thought it didn't matter
if I compiled with the static multithreaded library DDE4MBSI.LIB.
In fact as a european(Not english) I thought that the C Runtime library was
the same as dynamic linking to the CSet++ runtime library. 

But look at page 180-181 in the 'C/C++ Tools Version 2.0 programming
Guide'. The section 'Thread Control' explains why you should use
_beginthread.

Another way is to use the C++ UICL and the IThread Class. 

Med venlig hilsen
     Henrik Falk  
---
* Origin: [TEAM OS/2] Working for you...! (2:236/100.25)
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 712/353 515 713/888 800/1 7877/2809
@PATH: 236/100 235/107 9 50 23/996 240/5500 396/1 3615/50 229/2 12/2442
@PATH: 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™.