HDTenEightyP/NetNews huggingface dataset:
From: john.navas@uttsbbs.uucp (John Navas) 
Newsgroups: comp.os.os2.programmer
Subject: Nested Comments in IBM C
Date: 16 Nov 92 10:03:00 GMT
Distribution: world
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591
Reply-To: john.navas@uttsbbs.uucp (John Navas) 

c9e-aw@volga (Claudio Fahey) writes:

 > Does anybody know if the IBM C Set/2 compiler can be setup to
 > support nested comments?  It sure is a pain uncommenting my
 > comments when I want to comment a large section of code.

Rather than nested comments, why not simply use:

 ...

#if 0

 ... /* comment */

#endif

 ...

to "comment out" code?

Best regards,
John
                 
Newsgroups: comp.os.os2.programmer
From: randy@chinet.chi.il.us (Randy Suess)
Subject: Re: How to read .BOO file on CDROM
Organization: Chinet - Public Access UNIX
Date: Mon, 16 Nov 1992 14:21:01 GMT

In article <1e6hmcINNoq6@gap.caltech.edu> zmz@milhouse.caltech.edu (Steven Zhou) writes:
>It is said that .boo file can be read using read2 programm. But I can't  
>find the programm on the CDROM disc. Could someone point me to the place  
>where I can find it?

	Everything is in the ez2inst directory.  Go in there and run
	the install program ending in 1. (can't remember exactly as
	the os/2 system is playing Red Baron)

-- 
	I am created Shiva the Destroyer; Death, the shatterer of worlds!
	Who is this dog meat who stands before me now?
	That's the biz, sweetheart.
Randy Suess					 randy@chinet.chi.il.us
Newsgroups: comp.os.os2.programmer
From: joiner@exa.cs.umn.edu (Jay K. Joiner)
Subject: Re: GCC man and .texi files
Organization: University of Minnesota
Date: Fri, 20 Nov 1992 16:22:31 GMT

In <matt.27@bss1.umd.edu> matt@bss1.umd.edu (Matthew Piermarini) writes:

>This is probably very trivial, but I can't seem to read the man files that 
>come with GCC2-222.   I tried piping them throught Groff, but they come out 
>screwed up.  Any ideas?  

Try groff -mdoc <file> instead of groff -man <file>

>Also, how do read .texi files??? Do I need to get 
>the whole EMTex package??  

Get the gnuinfo package.  You don't need emtex.
From: hacker@cco.caltech.edu (Jonathan Bruce Hacker)
Newsgroups: comp.os.os2.programmer
Subject: changing VREXX stdout to PM window
Date: 18 Nov 1992 01:42:08 GMT
Organization: California Institute of Technology, Pasadena
NNTP-Posting-Host: punisher.caltech.edu


Is there a way to get stdout in a VREXX program running in a minimized
OS/2 session to go to a PM window?  

Right now, the only way I know to get text to a window using VREXX is
to use Vsay after opening a window with VOpenWindow.  This doesn't
quite do what I want though.


-- 
Jon Hacker
Caltech, Pasadena CA
hacker@tumbler-ridge.caltech.edu
From: mark@snark.itc.gu.edu.au (Mark Hessling)
Newsgroups: comp.os.os2.programmer
Subject: Release of PDCurses 2.0; curses library for DOS and OS/2
Keywords: curses
Date: 19 Nov 92 21:36:25 GMT
Organization: ITC, Griffith University, Brisbane, Australia

[If this shows up twice...apologies]

Announcing the release of PDCurses 2.0; a public domain curses screen
handler for DOS and OS/2.

PDCurses v2.0 is an almost total rewrite of PCCurses 1.4 done by John
'Frotz' Fa'atuai, the previous maintainer. PDcurses 2.0 has been written
to be compatible with System V 3.2 curses and includes support for pads
and colour.

This version has been tested with Microsoft C v6.0, QuickC v2.0 and
Borland C++ 2.0 under DOS and Microsoft C v6.0 and TopSpeed c v3.02
under OS/2 2.0. Also the library has been compiled successfully with
emx 0.8e, C Set/2 and Watcom 9.
Most testing was done with the large memory model where applicable.
The large memory model is probably the best model to use.

The amount of testing has not been as extensive as I would have
liked, but demands on releasing a product have outweighed the
product's quality. Nothing new with that !!
Hopefully with wider circulation, more bugs will be fixed more quickly.

I have included just 1 makefile which is suitable for dmake 3.8 for
both DOS and OS/2. The makefile does not rely on customisation of the
dmake.ini file.

If you discover bugs, and especially if you have fixes, please let me
know ASAP.

The source to the library is available from SIMTEL-20 in pd1:<msdos.screen>
directory and in the equivalent SIMTEL-20 mirror sites. The source has been
packaged with Info-Zip's Zip 1.9. You will need Info-ZIP unzip 5.0 to unzip.
The source should also be appearing in comp.sources.misc shortly.

Follow the directions in the readme file to compile the library.

Currently there is an e-mail user's list that informs the PDCurses users
regarding the latest news about this software.
Contact Robert Wolf at rwolf@dciem.dnd.ca to join the e-mail list.

Cheers, Mark
------------------------------------------------------------------------
Mark Hessling                         Email: M.Hessling@gu.edu.au
DBA,ITS                               Phone: +617 875 7691
Griffith University                   Fax:   +617 875 7877
Nathan, Brisbane QLD 4111 Australia   *** PDCurses Maintainer ***
------------------------------------------------------------------------
From: lansche@torolab6.VNET.IBM.COM (Martin Lansche)
Date: Mon, 16 Nov 92 11:13:05 EST
Newsgroups: comp.os.os2.programmer
Subject: Re: Nested Comments in IBM C Set/2
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0

In <c9e-aw.721870314@volga.Berkeley.EDU> Claudio Fahey writes:
>Does anybody know if the IBM C Set/2 compiler can be
>setup to support nested comments?  It sure is a pain
>uncommenting my comments when I want to comment a large
>section of code.
>
C Set/2 supports /* ... */ style comments and // style comments (as allowed
in C++).  By combining these two styles, and by judicious use of #if 0 ...
#endif blocks, your pains should be minimal.  To enable the // style of
comments, you must use the /Ss option on the CLI, or choose the following
options in WorkFrame/2:
 - Options
   - Compile Options
     - Source Code Options
       - Allow use of '//' for comments

Cheers,
Martin Lansche
  ________________________________________________________________________
   Ilu Iluvatar en kare eldain a firimoin ar antarota mannar valion :
   numessier.  Toi aina, mana, meldielto -- enga morion : talantie.
   ----------------------------------------------------------------------
   The father made the world for elves and mortals and he gave it into
   the hands of the Lords in the West.  They are blessed, holy and loved,
   except the black one.  He has fallen.
  ________________________________________________________________________
(J.R.R. Tolkien).
From: ochealth@unixg.ubc.ca (ochealth)
Newsgroups: comp.os.os2.programmer
Subject: Re: EMX link ERRORS
Date: 18 Nov 1992 23:47:01 GMT
Organization: University of British Columbia, Vancouver, B.C., Canada
NNTP-Posting-Host: unixg.ubc.ca

In article <tdukes.921118111315@ohm.ee.eng.auburn.edu> tdukes@eng.auburn.edu (Todd J Dukes) writes:
:I am trying to make the switch to EMX from GCC/2. I read the documentation
:that comes with EMX and am trying to make a simple program I wrote
:when I started using GCC/2. It compiles fine, but when linking there
:are several link errors (I believe it is all of the PM functions).
:I have included my make file below. Does anybody have any suggestions?
:
:Thanks
:Todd
:tdukes@eng.auburn.edu
:

for OS/2 PM programming, it is probably better to use the native OS/2
link format. In EMX 0.8e, use the flag -Zomf for all linking and compiling.
(-Zmt is probably a good idea. It's smaller, and it is thread safe)

You can use the .o format as well, but look at the file emxtest.zip
which has various examples. (stuff with emxbind)

With the .obj format you should do

foo.exe:  $(OBJS) foo.def foo.res
	gcc -Zomf -o foo.exe foo.def $(OBJS) etc..
	rc foo.res foo.exe

foo.res:  foo.rc foo.h foo.ico ....
	rc -r foo.rc
:
:CC=gcc
:CFLAGS=-c -I/TOOLKT20/C/OS2H
:
:OBJS= stdmain.o winproc.o getfile.o process.o
:
:pmdraw.exe: $(OBJS) pmdraw.def pmdraw.res
:	gcc -o pmdraw.exe $(OBJS) pmdraw.def pmdraw.res -los2 -lgpp

gcc (EMX) won't automatically link in .res files
use rc for that

Oh, and you are using C++ too, so make sure you have the C++ stuff
(EMX comes puts C++ in a seperate archive file)

:
-- 
______________________________________________________________________________
jpm: ochealth@unixg.ubc.ca         
                            Happily using OS/2 2.0 because MS Windows isNT ___
                                                      Insert VapourFeature ^^^
From: John.Cocula@f347.n109.z1.fidonet.org (John Cocula)
Sender: Uucp@blkcat.UUCP
Newsgroups: comp.os.os2.programmer
Subject: Re: ASK: How to send a c
Date: Thu, 12 Nov 1992 11:53:02 -0500

In a message to All <11-11-92 21:13>, tranx writes:

 tA> A: I tried to write a program to communicate with my instrument through
 tA>    a serial port(eg. COM1). I have C Set/ 2 and Work Frame but I couldn't
 tA>    find a system call that allows me to "open COM1: for example" and
 tA> return
 tA>    a handle. So that I can use this handle to send a character to this
 tA> serial
 tA>    port. Would you like to help me out?

Use the DosOpen call with a "file" name of "COM1".
You can also issue DosDevIOCtl calls to set baud rate, parity,
etc.

  
___  
 * PMQWK 1.00b5 *
From: peterf@vnet.ibm.com (Peter Forsberg)
Date: Wed, 18 Nov 92 07:53:52 SWE
Newsgroups: comp.os.os2.programmer
Subject: Re: setting global environment vars in REXX
Reply-To: peterf@vnet.ibm.com
Organization: IBM Corporation
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0

In <exujlg.173.0@exu.ericsson.se> Jon L. Gauthier, EXU/IS/TP, Rm B-65, MS B-07, 997-0157 writes:
>I'm new to programming in OS/2, so please bear with me.
>
>I'm trying to create a Lan Manager login script for OS/2 workstations on our
>network that sets some global environment variables.  I can create local
>vars with the VALUE function, but I need to add drives to the PATH, DPATH,
>and LIBPATH variables (is it possible to add to LIBPATH, since it's not an
>environment variable?).
>
>Any pointers would be appreciated.
>
>Regards,
>------------------------------------------------------------------------------
>Jon L. Gauthier                                 Ericsson Network Systems, Inc
>EXU/IS/TP Systems Programmer                                  P.O. Box 833875
>+1 214 997-0157                                     Richardson, TX 75083-3875
>
>e-mail:  exujlg@exu.ericsson.se, exu.exujlg@memo.ericsson.se
>Geez!  Can I be a .com, huh? huh?  Aw, pleeeaaasssse?
>------------------------------------------------------------------------------
>

I'm no REXX-guru, but I do know one thing (which isn't REXX-related anyway),
and that is that LIBPATH is impossible to change with less than a change to
CONFIG.SYS followed by an IPL. The best you could do is probably to put some
"generic" entries in LIBPATH (e.g. ../DLL;/DLL;./DLL; ...), and make sure
these are valid on all drives. Agreed, this is not at all as flexible as it
would be to be able to update LIBPATH dynamically.
As for changing PATH and DPATH, couldn't you try
  'PATH x:/mydir/bin;%PATH%'
(doesn't ' ' address the command processor, CMD.EXE?)

Peter
--
Peter Forsberg           E-mail:  peterf@vnet.ibm.com          (primary)
                                  d88-pfo@nada.kth.se        (alternate)
Disclaimer: This posting represents the poster's views, not those of IBM
Xref: sparky comp.os.os2.programmer:6485 comp.os.os2.advocacy:8513
From: sidney@borland.com (Sidney Markowitz)
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
Subject: Re: Borland C++ for OS/2=====Tell us how it is coming along!
Date: 16 Nov 92 21:28:47 GMT
Organization: Borland International
Originator: sidney@genghis.borland.com

dic5340@hertz.njit.edu (David Charlap) writes:
>Read the anouncement on comp.os.os2.apps.  Borland C++ for OS/2 2.0
>has now been released.  The anouncement says nothing about
>availability dates or pricing, however.

Read my followup to that announcement. Borland C++ for OS/2 2.0 has
not yet been released. I don't know where the announcement came from
and I will not vouch for its accuracy in any specific detail.

>Followup to comp.os.os2.advocacy

I took off the followup, since I'm responding to the non-advocacy
portion of the message.

 -- sidney <sidney@borland.com>
    a programmer at Borland
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: Create Fonts
Date: 15 Nov 92 22:47:51 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <wf1gJ8S00iUzQ37fkD@andrew.cmu.edu> sl31+@andrew.cmu.edu (Stephen M. Lacy) writes:
>I'm also interested in doing this.  Is there a specification of the .pfb
>format somewhere accessable, and do I have to know PostScript to be able
>to program it?

The .PFB/.AFM format for fonts is an Adobe format.  They sell
developer's kits.  I don't think you'll need to know the PostScript
language, but you may have to know some internals of ATM, which would
be documented in Adobe's kit.

-- 
  |)  David Charlap          | .signature confiscated by FBI due to
 /|_  dic5340@hertz.njit.edu | an ongoing investigation into the
((|,)                        | source of these .signature virusses
 ~|~
From: kevinl@tisdec.tis.tandy.com
Date: 19 Nov 92 08:17 CST
Newsgroups: comp.os.os2.programmer
Subject: Borland C++ OS/2 Beta
Message-ID: <13100002@tisdec.tis.tandy.com>
Nf-ID: #N:tisdec.tis.tandy.com:13100002:000:289
Nf-From: tisdec.tis.tandy.com!kevinl    Nov 19 08:17:00 1992


	I was just wondering if anyone wanted to venture any opinions of the
Borland C++ for OS/2 Beta.

	Does it come with an Object Windows-type library?  Does it come with a
Turbo Vision-type library?  What are some of its strongest features?  Some of
its weakest?

	Thanks for your opinions.
From: qwerbafb@w271zrz.zrz.tu-berlin.de (Joerg Schwieder)
Newsgroups: comp.os.os2.programmer
Subject: What about HPFS (Hello IBM)
Date: 23 Nov 1992 15:36:20 GMT
Organization: ZRZ/TU-Berlin
NNTP-Posting-Host: w271zrz.zrz.tu-berlin.de
Keywords: HPFS

I ve got a problem finding any information about the HPFS. I need to know  
more about internal structures and these stuff (OS/2 2.0 s enough).
Everything I found till today was an article in Byte and one in Tech  
Specialist. Where can I get more info? Is there anything at IBM? Where?

Thanks for helping

Joerg Schwieder -- qwerbafb@w271zrz.zrz.tu-berlin.de
Newsgroups: comp.os.os2.programmer
From: grl@brb.dmt.csiro.au (Greg Lehmann)
Subject: Re: WIN-OS/2 3.1 CSD?
Organization: Prentice Centre, University of Queensland
Date: Wed, 18 Nov 1992 05:11:50 GMT

sip1@ellis.uchicago.edu (Timothy F. Sipples) writes:

>In article <1dorvrINNjlr@agate.berkeley.edu> ksanthan@garnet.berkeley.edu (Kumaran Santhanam) writes:
>>Can somebody point me towards the WIN-OS/2 3.1 Service Pack?  I have a few bugs
>>in my WIN-OS/2 3.1 beta and I'd like to patch them w/ the CSD.

>Since Win-OS/2 3.1 has not been released (outside of beta), there is
>no Service Pack for it.  There may be a second beta, however, if you
>are participating in the beta program (under nondisclosure,
>presumably, or at IBM).

Will Win-OS/2 3.1 (when it is released) install over the current Service Pak?

I vaguely remember something about having to install it over the original
OS/2 base. I haven't installed the SP because of this.
-- 
Greg Lehmann,
CSIRO Division of Manufacturing Technology,   Telephone: +61 7 212 4537
P.O. Box 883, Kenmore, QLD 4069, Australia.   Facsimile: +61 7 365 4681
2643 Moggill Rd., Pinjarra Hills, QLD 4069.   Internet:  grl@brb.dmt.csiro.au
Newsgroups: comp.os.os2.programmer
From: richk@grebyn.com (Richard Krehbiel)
Subject: getchar() without <enter> in emx gcc?
Organization: Grebyn Timesharing
Distribution: usa
Date: Sat, 21 Nov 1992 15:47:01 GMT

This is a very common FAQ in comp.lang.c, so I hate to ask....

How do you read a single character from the keyboard without requiring
hitting ENTER, and without echo?

Specifically, this is in emx gcc 0.8e.  I'm incuding what I'm trying
now, but it doesn't work.  It does in Unix, which I thought the termio
interface in emx was supposed to emulate.

        setbuf(stdin, NULL);
        ioctl(0, TCGETA, &tio);
        tio.c_lflag &= ~(ICANON | ECHO);
        tio.c_cc[VMIN] = 1;
        tio.c_cc[VTIME] = 0;
        tio.c_cc[VEOL] = 0;
        ioctl(0, TCSETA, &tio);

After this, characters are still automatically echoed and buffered,
etc.

(And if this is a FAQ, please don't hit me too hard...)
-- 
Richard Krehbiel                                 richk@grebyn.com
OS/2 2.0 will do for me until AmigaDOS for the 386 comes along...
Newsgroups: comp.os.os2.programmer
From: kitchin@avo.hp.com (Bruce Kitchin)
Subject: Re: Nested Comments in IBM C Set/2
Organization: Hewlett-Packard, Santa Clara Division
X-Newsreader: TIN [version 1.1.4 PL6]
Date: Mon, 16 Nov 1992 16:26:40 GMT

Rather than commenting out a section of code and the potential gotchas
with nested comments, the recommended procedure is to bracket the
section of code with #if 0 and #endif.  Doing this, your comments
and everything else is left unchanged just ignored by the compiler.

E.G.

#if 0
   some c code /* comment */

  /*******************
   *
   * another comment
   *
   *******************/

  more C code

#endif

Newsgroups: comp.os.os2.programmer
From: figueroa@SPUNKY.CS.NYU.EDU (Samuel A. Figueroa)
Subject: Re:  let FORTRAN program run under DOS to run under OS2
Keywords: fortran
Organization: New York University
Date: Sun, 15 Nov 1992 16:04:33 GMT
From: john.navas@uttsbbs.uucp (John Navas) 
Newsgroups: comp.os.os2.programmer
Subject: looking for Advanced OS/2
Date: 16 Nov 92 10:04:00 GMT
Distribution: world
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591
Reply-To: john.navas@uttsbbs.uucp (John Navas) 

c9e-aw@volga (Claudio Fahey) writes:

 > Does anybody know of any good books on advanced OS/2 2.0 PM
 > programming?  If not, how about OS/2 1.x PM programming?

IMHO, the definitive work is still "Programming the OS/2 Presentation
Manager" by Charles Petzold (Microsoft Press).

For a good list of available OS/2 books, check the OS/2 forums on
CompuServe.

Best regards,
John
      
Newsgroups: comp.os.os2.programmer,comp.os.os2.apps
From: skagos@hercules.cs.uregina.ca (P. Takis Skagos)
Subject: APL interpretter for OS/2???????
Date: Mon, 23 Nov 1992 22:50:57 GMT
Organization: University of Regina, SK, Canada

Hello,

  Does anyone know if there exists a PD/shareware APL or J interpretter
for OS/2?  I've got one for DOS ... but I'd rather not use DOS if I can
avoid it.  Thanks for any help!

P. Takis Skagos
(skagos@cs.uregina.ca)
From: os2man@panix.com (Larry Salomon Jr.)
Newsgroups: comp.os.os2.programmer
Subject: Re: sprintf() hangs application (*more info*)
Date: 17 Nov 92 20:08:54 GMT
Organization: PANIX Public Access Unix, NYC

In <1992Nov17.190901.16350@panix.com> I write:

>For some reason, a call to sprintf() instead one of my routines
>(called getTempName()) hangs my PM application (using C-Set/2 from
>CD ROM to compile).

>Since sprintf() calls malloc() I decided to allocate 100 bytes before
>calling sprintf() (and immediately free the 100 bytes), and - sure enough -
>the app hung on the malloc() call.

>It sounds like something is getting trashed somewhere, but I don't make
>any calls to malloc() (I use my own home-grown routines, which I am 99%
>sure are correct) so it's not like the run-time is suffering from memory
>fragmentation.

Since then, I've changed the call to getTempName() to
sprintf(achFile,"MSR%05d",0) and then to sprintf(achFile,"MSR%5d",0) and
then to sprintf(achFile,"MSR00000") and finally to strcpy(achFile,"MSR00000").

The first three changes resulted in IPMD reporting an access violation, while
the last call simply hung the app again.  I'm having trouble opening an
annotated listing in IPMD so I can't verify the code that is being generated.

My compiler options are:

-C+ -Gd- -Ge+ -Gm+ -Ms -O- -Re -S2 -Sa -Se -Sp -Ss+ -W3

If *anyone* has any ideas, *please* let me know ASAP!

Cheers,
Q
-- 
"If you choose not to decide, you  | "A fool and his money are fun to go
 still have made a choice" - Rush  |  out with" - seen on a T-shirt
------------------------------------------------------------------------
From: @prism.cs.orst.edu
Newsgroups: comp.os.os2.programmer
Subject: Using the mouse in a Vio graphics screen...
Date: 20 Nov 92 00:13:15 GMT
Article-I.D.: flop.1ehairINNcue
Distribution: world
Organization: CS Dept, Oregon State University
NNTP-Posting-Host: prism.cs.orst.edu

The program I'm working on needs to be able to see what the mouse is doing.
It runs in a full screen session and the mouse routines work just fine when
the screen is in a text mode, however, when I switch to a graphics mode then
I get nothing back from the mouse. MouReadEventQue simply waits until I switch
back to a text mode, and MouGetPtrPos simply returns the same value no
matter what I do with the mouse.

The only thing I do to get the mouse is to call MouOpen. Is there another
call I must call to configure the mouse for a graphis mode?

Thanks
Keith 'I need a book' Murray
Newsgroups: comp.os.os2.programmer
From: margoli@watson.ibm.com (Larry Margolis)
Subject: Re: redefining national language keys in EPM
Date: Wed, 18 Nov 1992 02:58:53 GMT
Distribution: comp
News-Software: IBM OS/2 PM RN (NR/2) v0.14l by O. Vishnepolsky and R. Rogers
Reply-To: margoli@watson.IBM.com
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center

In <HWB.92Nov13181321@machnix.mathematik.uni-stuttgart.de> hwb@machnix.mathematik.uni-stuttgart.de (Harald Boegeholz) writes:
>
>The EPM Technical Reference states that I can redefine "any printable
>character whose ASCII value is between 0 and 255". So how do I
>redefine the a-Umlaut key (ASCII 132), which is definitely printable
>and between 0 and 255?

I'll have to check to see exactly what can be defined, but it's not
all of them.  You can, however, define it as an accelerator.  Try this:

include 'stdconst.e'

defc try =
   universal activeaccel
   buildacceltable activeaccel, 'sayerror a_Umlaut', AF_CHAR, 132, 12345
   activateacceltable  activeaccel

--
Larry Margolis, MARGOLI@YKTVMV (Bitnet), margoli@watson.IBM.com (Internet)
Newsgroups: comp.os.os2.programmer
From: harris@garfield.catt.ncsu.edu (Michael Harris)
Subject: Re: WinFileDlg Operation
Organization: North Carolina State University
Date: Mon, 16 Nov 1992 13:40:06 GMT

gb8@prism.gatech.EDU (BEEBE,GARY E) writes:


>The FILEDLG member assignment that causes the error is
>
>         Dlgdat.pfnDlgProc=NULL;

>where FILEDLG Dlgdat; was previously declared. This assignemnt was recommended
>in the RED BOOK's (although I have my reservations as to its neccesity).

Double-check the header file (I think it is PMCTLS.H) to be sure that the name
is correct as you typed it.  Sometimes there are typos in the documentation.

>The question is: If you declare the pointer to the dialog procedure
>to be NULL, how does the WinFileDlg call know where to process the default
>dialog controls? Can someone recommend a validated source of accurate information describing the use of the WinFileDlg function?

This is NOT the real dialog proc.  The dialog proc pointed to by that parameter
is a SUBCLASS PROC.  Basically, if you put a dialog proc of your own there,
the standard File dialog will be created and then the system will immediately
call WinSubclassWindow() with your proc and the file dialog as window.  It is
your responsibility in your subclass proc to call WinDefFileDlgProc() or
whatever the default proc is called.
______________________________________________________________________________
     Michael Harris - harris@catt.ncsu.edu or harris@carvm3.vnet.ibm.com
 System Administrator, Computer & Technologies Theme Program, NC State Univ.
(My opinions are my own and do not represent those of NCSU or IBM Corporation)
Newsgroups: comp.os.os2.programmer