TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jeff Patten
from: Phil Crown
date: 1996-09-08 19:32:54
subject: Window Title

-=> Quoting Jeff Patten to Phil Crown <=- 

 PC> It still crashes under BCOS2.  It only crashes if I try give
 PC> it a command line parameter to set the title with.  I'll
 PC> keep trying, but I'm beginning to think it may be a Borland
 PC> bug. . 

 JP> It won't even link here (unresolved external...).  It appears the
 JP> function may only be accessible via its ordinal, though I don't have
 JP> that working either (but then I've never called a fn this way
 JP> before...). 
 JP> Jeff

You have to link with os2386.lib, which is part of the Developer's
Toolkit on the DevCon CD's.

emx/gcc doesn't need os2386.lib, hmmm.... maybe this is where my problem
is.

bcc title.c os2386.lib
gcc -Zomf title.c title.def

There may be another way to do it, but this is how I do it.

Phil
pcrown{at}airmail.net
http://web2.airmail.net/pcrown/


--- Blue Wave/OS2 v2.30
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 972-250-4479 * (1:124/1208)
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: 124/1208 1 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™.