TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Joey Mukherjee
from: Peter Fitzsimmons
date: 1995-01-25 04:31:20
subject: Watcom problems...

JM> The IDE Log will come up and show the commands its running, but not work 
 JM> (i.e. no executable is created).  However, if I open 
 JM> an OS/2 window and type in the same command as in the 
 JM> IDE Log, it works.  Any ideas?  Currently I use the

Try moving your watcom directories to the begining if your path, dpath,and
libpath (and reboot) -- if it works after that,  you know you have some
sort of exe/dll conflict with another product.

NOTE: Remove any reference to the watcom SOM dirs from your LIBATH (this
will not cause your problem,  but could cause Warp to fail to boot),since
Warp ships with a newer version of SOM.

DId you let the install program change your config.sys?   Do you have a
file named \watcom\config.new?  Are the changes in this file reflected in
your real config.sys?  Did you install the Windows IDE,  or the PM IDE?


 JM> Secondly, I didn't get the documentation because I was under the 
 JM> possibly  false assumption that the documentation was 
 JM> included online.  I open the help files and see
 JM> something like "_dosfindfirst - looks for the first

I just opened my watcom info folder,  opened the "C runtime
reference" and found _dos_findfirst(),  complete with a _compileable_
example.  The only trick was I searched *Index* instead of "All
Sections".

Additionally (a feature I've always like about watcom for beginners),your
\watcom\samples\clibexam directory contains a compilable stand-alone
program for every C runtime function.  In your case,  it is findfirs.c.


 JM> Lastly, is there a book that deals with (or only) the OS/2 API commands? 
 JM>  I just want a description of each of the commands and

That's in your Watcom info folder too (if you installed the OS/2 toolkit
included with it).  There are several:

    CP Reference (base o/s kernel calls)
    PM Reference
    IPFC   "
    SOM    "
    Rexx   "
    Tools  "

    The other "books" are watcom specific.  The above are from IBM.

--- Maximus/2 2.02p1
* Origin: Sol 3/Toronto (905)858-8488 (1:259/414)
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: 259/414 400 99 250/99 3615/50 105/103 42 724/13 600/500 2 82 229/2
@PATH: 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™.