HDTenEightyP/NetNews huggingface dataset:
From: Larry Margolis <margoli@watson.ibm.com>
Subject: Re: EPM and GCC 2.2.2
Date: Mon, 28 Sep 1992 06:39:47 GMT
Reply-To: margoli@watson.IBM.com
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: The Village Waterbed

In  <tdukes.920927151232@ohm.ee.eng.auburn.edu>  tdukes@eng.auburn.edu (Todd J Dukes) writes:
> I am using EPM 5.1, GCC 2.2.2 and gmake.
>
> I tried running make from a EPM shell. (I typed ctrl-I and then shell.
> A shell came up. I changed directories, and then typed make.)
>
> No text appears in the EPM window.
>
> If I do the same thing in a CMD window, I get error messages.
> I thought this was the purpose for allowing a shell from the editor
> (creating a text file of error messages), but I can't get it to work.
> Am I doing something wrong or is there an incompatability between
> GCC and EPM that prevents me from using this feature.

It looks like STDERR might not be redirected.  I'll investigate;
meanwhile, try redirecting STDERR to STDOUT:
  make 2>&1

Larry Margolis, MARGOLI@YKTVMV (Bitnet), margoli@watson.IBM.com (Internet)
Newsgroups: comp.os.os2.programmer
From: Andrew Bros <bros@convex.COM>
Subject: GCC 2.2.2 cin bug?
Originator: bros@neptune.convex.com
Date: Tue, 29 Sep 1992 14:33:08 GMT
Reply-To: bros@convex.COM (Andrew Bros)
Organization: Convex Computer Corporation, Richardson, TX
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

  I was working through the Waite Group's C++ Primer (1991), and found
that one of the examples was not working right.  The problem seems to
be that the cin is not returning 0 as expected on invalid input.  I
don't have any real reference book on C++, so I can't be sure things
are supposed to work like this, but my book says (p. 281):

"If, however, the input data does not match cin's expectactions, the
returned value is 0, or false."

  I noticed when the expected data is an int, the expression functions
as expected.

// Check for a cin bug in gcc/2
// Andrew Bros (bros@convex.com)
// September 28, 1992

#include <iostream.h>

int main (void)
{
  double x;
  iostream * rtn;

  cout << "Enter a number (q to quit): ";
  while (rtn = cin >> x) {
    cout << "X = " << x << "\n";
    cout << "Next number (q to quit): ";
  }
  if (rtn == 0) {
    cout << "cin returned " << rtn << "\n";
  }
}

-- 
Andrew Bros                             bros@convex.com
System Integration Group                Convex Computer Corporation
It does not do to leave a live dragon out of your calculations,
if you live near him.  - JRR Tolkien, The Hobbit.
From: Barry.King@ttlg.UUCP (Barry King)
Newsgroups: comp.os.os2.programmer
Subject: Re: access to i/o ports?
Date: 26 Sep 92 22:00:42 GMT

In a msg on <Sep 22 14:25>, Mark Saum of 42:1000/2 writes:

 -> What ports?  If you mean the low-level I/O ports, you would need 
 -> to run at ring 0 I believe.  That means writing your own 
 -> device driver.

You can write 'normal' OS/2 programs with IOPL which gives the program code direct access to the hardware ports.  C Set/2 does not include a function to write to the ports directly but MSC 6 does.

Regards,
 
Barry

 * Origin: The OS/2 Connection - Edmonton, Alberta, Canada (42:100/31)
From: fhart@ncratl.AtlantaGA.NCR.COM (Fred Hart)
Newsgroups: comp.os.os2.programmer
Subject: GNU emacs cursor size
Date: 2 Oct 92 13:10:37 GMT
Article-I.D.: ncratl.9431
Organization: NCR Engineering and Manufacturing Atlanta -- Atlanta, GA

I have been working on enlarging my cursor in gnu emacs, howerver, I seem
to be getting nowhere. I tried inserting the "cursor" command in a .cmd
file as shown below but this still did not help:

emacs.cmd
--------------------------------
mode co80 45
cursor -70 -100
xemacs
--------------------------------

-- Fred Hart (Fred.Hart@AtlantaGA.ncr.com)
Xref: sparky comp.os.os2.programmer:5351 comp.os.os2.misc:31806
From: sundaram@cps.msu.edu (Divya Sundaram)
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
Subject: I need info about IBM's OS/2 Developers' Program
Date: 1 Oct 92 17:15:53 GMT
Distribution: usa
Organization: Michigan State University, College of Engineering
Originator: sundaram@arctic.cps.msu.edu

Hi all,

I read that IBM has a program to help developers of OS/2 applications. I need 
to know where I can find out more about this program. I am interested in 
porting several programs from DOS and Win 3.1 to OS/2. What is the pricing
for OS/2' C/Set (or whatever) or should I wait till Borland C++ for OS/2?

I have been reading PC Week and it seems that OS/2 is beginning to gain some 
real momentum.

Later 
Divya
(sundaram@cps.msu.edu)
From: dmm@vnet.ibm.com (Dave Mooney)
Date: Sun, 27 Sep 92 13:12:03 EDT
Newsgroups: comp.os.os2.programmer
Subject: Re: Talking to a DOS box from OS/2 2.0
Organization: IBM Canada Lab
News-Software: UReply 3.0

In <589@ddbeezer.Dundee.NCR.COM> Tim Craig writes:
> Can someone who has digested the wads of OS/2 2.0 doc please inform me
> if there is any method of communicating between an OS/2 process and
> something in a DOS box. I know this can be done via the clipboard but I
> was hoping for something a little more flexible (along the lines of pipes
> or even DDE as is possible between Windows and OS/2). Any ideas, pointers
> or references?

Create a named pipe on the OS/2 side, open up this pipe as a normal file
on the DOS side, and use the usual DOS I/O functions to read and write
this pipe.

dave

-------------------------------------------------------------------------
Dave Mooney                                              dmm@vnet.ibm.com
 C Set/2 Development, IBM Canada Lab, 844 Don Mills Rd, Toronto, Ontario
                    "Neil!!!  Your bed's on fire!!!"
Newsgroups: comp.os.os2.programmer
From: jja@wsl.ie (John J. Allen)
Subject: Re: Good PM Programming books
Organization: Project Papyrus, AIRAID, Dublin, Ireland
Date: Sat, 26 Sep 1992 10:52:13 GMT

dic5340@hertz.njit.edu (David Charlap) writes:
: In article <19920925.064647.65@almaden.ibm.com> GERSTLE@TOROLAB6.VNET.IBM.COM writes:
: >Try "Programming the OS/2 Presentation Manager" bu Charles Petzold.  Its for
: >OS/2 1.X but it is still excellent for beginners and experts.  Also try
: >"Learning to Program the OS/2 Presentation Mamager by Example".
: 
: Just remember to change messages from USHORT to ULONG in your message
: handling functions.

Please can we have compiler manufacturers include a typedef for the
message paramater in PMWIN.H. Then we can all use MESSAGE or some such
name for the message type.
From: KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn)
Date: Tue, 6 Oct 92 18:32:33 EDT
Newsgroups: comp.os.os2.programmer
Subject: Re: Executing a program from within a program
Organization: Staff of IBM Fellow - IBM Personal/370
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)

In <kaz.718396549@pv7b82.vincent.iastate.edu> Jimmy Buffet writes:
>Is there an OS/2 function I can call to execute a program within a program
>(for example, call dir within a program).  Also, is there a list
>of standard OS/2 file and dir functions I can get anywhere?  Thanks!
>
>--
Check on the DosExecPgm API; it allows you to start either child programs
either Synchronously or Asynchronously.  For example in your case you would
code the following:

    DosExecPgm(NULL,0,EXEC_SYNC,"CMD.EXE\0/K DIR\0",NULL,&RC,"CMD.EXE");

If you want to redirect stdOUT to trap the DIR output, see DosDupHandle.
From: keating@casemo.UUCP (John Keating )
Newsgroups: comp.os.os2.programmer
Subject: Programming for the OS/2 2.0 Serial Ports
Date: 2 Oct 92 21:39:55 GMT
Organization: Cray Communications, Inc.

There was a discussion in the not too distant past (but too distant for my
newsfeed) regarding a sample source code for using DosDevIOCtl() in OS/2
2.0.  Could someone tell me how to get that file?

Thanks!

John W. Keating, III
From: ameline@vnet.ibm.com (Ian Ameline)
Date: Mon, 5 Oct 92 18:50:16 EDT
Subject: C Set/2 CSD's
Newsgroups: comp.os.os2.programmer
Organization: C-Set/2 Development, IBM Canada Lab.
Disclaimer: This posting represents the poster's views, not those of IBM

In article <Bvnt16.1Hy@news.udel.edu>,
danderer@chopin.udel.edu (Dave Anderer) writes:
>
>A while ago the patches for CSet/2 were posted to the net.  I didn't need
>them then, but..
>
>Are they available somewhere on the net?
>

   They can be had on Compuserve, The IBM OS/2 Support BBS, The IBM
National Support Center (NSC) BBS, and from hobbes.nmsu.edu

Regards,
Ian Ameline.
Newsgroups: comp.os.os2.programmer
From: danderer@chopin.udel.edu (Dave Anderer)
Subject: C Set/2 CSD's
Organization: University of Delaware
Date: Mon, 5 Oct 1992 17:39:05 GMT


A while ago the patches for CSet/2 were posted to the net.  I didn't need
them then, but..

Are they available somewhere on the net?
-- 
    Dave Anderer        danderer@brahms.udel.edu       (302) 831-8805
Instructional Technology Center, University of Delaware, Newark, De.  19716
		"Sinners can repent; stupid is forever."
Newsgroups: comp.os.os2.programmer
From: sci240s@monu6.cc.monash.edu.au (Wey Jing HO)
Subject: Re: Help with GCC (fread())
Organization: Monash University, Melb., Australia.
Date: Mon, 28 Sep 1992 10:06:55 GMT

In <1992Sep28.092116.29086@monu6.cc.monash.edu.au> sci240s@monu6.cc.monash.edu.au (Wey Jing HO) writes:

I've just found the problem. Replacing the line where the file is opened with
"r+b" to "rb" solves the problem BUT why shouldn't "r+b" work correctly?
If I read all the C books I have, "r+b" should work almost similarly to "rb"
except that "r+b" allows updating. So, is this a bug in GCC?


>In trying to use GCC Version 2 for OS/2, I have the following problem:

>I am having problem writing a program that read in data in binary format
>into an array. I've included the source as below with all the instructions
>I used to compile and link it (with link386). Please help.


>/* Start of test program */
>#include <stdio.h>
>#include <stdlib.h>

>#define ERROR -1
>#define OK     1

>int main(){
>   FILE *fp_in;

>   unsigned char image[512];

>   int number;

>   if ((fp_in = fopen("test.img", "r+b")) == NULL){ /* open image file */
>      printf("\nfopen() failed.\n");
>      fflush(stdout);
>      exit(ERROR);

* Remainder deleted.
-- 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Wey Jing Ho    Tel: 61-3-573-2567   E-mail : sci240s@monu6.cc.monash.edu.au<
>Physics Dept., Monash University ( Caulfield Campus ), Melbourne, AUSTRALIA<
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Newsgroups: comp.os.os2.programmer
From: gjm@cray.com (Gordon Miller)
Subject: Re: EPM 5.51 crashes on Exit...
Date: 1 Oct 92 13:18:56 CDT

In article <14734@goanna.cs.rmit.oz.au> steveh@goanna.cs.rmit.oz.au (Steven Hayes) writes:
>EPM 5.51 has been crashing on me when I save a file and then exit.
>If I exit, and a dialog pops up asking me to save the [modified] file,
>I click yes, and everything is fine. 
>


I am having the same problem as well.  

--Gordon Miller
From: "richard hajinlian" <richard.hajinlian@channel1.com>
Newsgroups: comp.os.os2.programmer
Subject: oracle user exits??
Date: 30 Sep 92 22:40:58 EST
Reply-To: "richard hajinlian" <richard.hajinlian@channel1.com>
Distribution: comp
Organization: Channel 1 Communications

Anyone using Oracle V7 and Forms V3 and have sucessfully written a user
exit?  One hitch...under C2 compiler?

We are having a heck of a time and any help would be appreciated.  We
are envoking this user exit from a field exit trigger and obtaining the
field data from an HP3000 using TCP/IP protocols.

Thanks in advance for your information.
Rich.
--
Channel 1 (R)   Cambridge, MA
From: ed@balrog.aecom.yu.edu (Ed Geraghty)
Newsgroups: comp.os.os2.programmer
Subject: Accessing SCSI Tape Drive under OS/2?
Date: 5 Oct 92 10:54:06 GMT
Distribution: na
Organization: Albert Einstein College of Medicine -- Dynamic Brain Imaging Lab

Greetings,
 
   I have been given a task to create a program to read/write data from
a SCSI tape drive under os/2. I mainly am trying to get tar/cpio to work.
How do I access the SCSI tape. Do I work with the SCSI adaptor or is there
hooks into the SCSI adapter device driver. Is there a SCSI developers kit
like on SUN's and other WS's. My current setup is an Adaptec 1542 and
and Archive Viper ST525 Tape drive. Any help would be appreciated.

                             Thanx in Advance,

                             Ed Geraghty

*******************************************************************************
Ed Geraghty                         |  "There is no true escape - I am watching 
Systems Manager                     |   all the time..." - JP "Electric Eye"
Albert Einstein College of Medicine | 
Dynamic Brain Imaging Lab           |  "Whenever you dream, you're holding a 
Bronx, NYC 10461                    |   key. It opens a door to let you be 
email: geraghty@aecom.yu.edu        |   free" - Ronnie James Dio
*******************************************************************************

Newsgroups: comp.os.os2.programmer
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: Re: OS/2 Developers Toolkit contents
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
Date: Sat, 3 Oct 1992 04:04:42 GMT

In article <tdukes.920930103057@helmholtz.ee.eng.auburn.edu> tdukes@eng.auburn.edu (Todd J Dukes) writes:
>I have been playing around with GCC and thought about ordering
>the OS/2 Programmers Toolkit.
>I was wondering how much of the programmer`s library made it to the 
>on-line help.
>What else is in the package that would make it worth ~$95?
>Is $95 with shipping a good price?

If you have access to a CD-ROM drive (even just to borrow or across a
network; you can create diskette sets from the CD-ROM), try the PDK
CD-ROM.  It's a bargain.  Call 407-982-6408 to order.

-- 
Timothy F. Sipples      | The OS/2 FREQ. ASKED QUESTIONS LIST is avail. from
sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/faq.
Dept. of Econ., Univ.   | Or from LISTSERV@BLEKUL11.BITNET (send "HELP").
of Chicago, 60637       | Family Values Means a Job
From: ochealth@unixg.ubc.ca (ochealth)
Newsgroups: comp.os.os2.programmer
Subject: fork() fails in EMX...
Date: 26 Sep 92 07:12:06 GMT
Organization: University of British Columbia, Vancouver, B.C., Canada


can someone give me a sample of fork() in EMX?

I tried a simple program (and used the right EMX options) and it
didn't work (works on SunOS).

It prints:
15EC09F3:00000057(beeps)
fork failed

(actual PID) -1


I guess that's debug code. I'm sure I used the right gcc options.

#include <process.h>

main()
{

   int pid;

   if( pid = fork() ) {
       if( pid == -1 )
           puts("fork failed");
       else
           puts("parent");
   }
   else
       puts("child");

   printf("\n%d %d\n",getpid(),pid);
}




-- 
______________________________________________________________________________
jpm: ochealth@unixg.ubc.ca         
                            Happily using OS/2 2.0 because MS Windows isNT ___
                                                      Insert VapourFeature ^^^
Newsgroups: comp.os.os2.programmer
From: feustel@netcom.com (David Feustel)
Subject: Re: Price to join DAP?
Organization: DAFCO: OS/2 Software Support & Consulting
Distribution: usa
Date: Mon, 5 Oct 1992 00:23:26 GMT

The CDROM cost $14; joining the DAP cost nothing.
-- 
Dave Feustel N9MYI <feustel@netcom.com>
 
[.sig on vacation]
Newsgroups: comp.os.os2.programmer
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: Re: OS/2 beta and/or developers CD from the UK...
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
Date: Wed, 30 Sep 1992 01:38:03 GMT

In article <1992Sep29.175316.26154@hplb.hpl.hp.com> dn@hplb.hpl.hp.com (Daniel Neades) writes:
>Is it possible to get either the beta (Win 3.1/32 bit GRE etc) or the
>Beta developer's CD-ROM (I don't even know if this is available yet)
>from this side of the atlantic?
>If so, how? (a telephone number whould be helpful - one that I can
>ring from the UK. I haven't a clue what 1-800-IBM-3040 means)

Anyone can order the OS/2 CD-ROM (lots of nice stuff on it!) by
calling the IBM DAP Office -- I give the number in the FAQ List.

Anyone, that is, in the U.S., for certain.  I'm not sure about other
countries.
-- 
Timothy F. Sipples      | The OS/2 FREQ. ASKED QUESTIONS LIST is avail. from
sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/faq.
Dept. of Econ., Univ.   | Or from LISTSERV@BLEKUL11.BITNET (send "HELP").
of Chicago, 60637       | Family Values Means a Job
Newsgroups: comp.os.os2.programmer
From: maehner@Informatik.TU-Muenchen.DE (Johannes Maehner)
Subject: malloc (...) in gcc+emx
Originator: maehner@hphalle3a.informatik.tu-muenchen.de
Organization: Technische Universitaet Muenchen, Germany
Date: Wed, 30 Sep 1992 17:38:40 GMT


I've got the gcc2.2.2+emx0.8e programming environment for OS/2 2.0.
Consider the following C-program:
   
    #include <stdio.h>
    #include <malloc.h>

    void main ()
    {
       char *buf = (char *) malloc (<size>);

       if (buf != NULL) printf ("memory allocated\n");
       else printf ("allocation failed\n");
       free (buf);
    } 

The behavior of the program:
If <size> gets too high (of course, <size> 
is in a valid integer range and >= 0) malloc doesn't return a 
NULL - pointer but the program turns in a core-dump
(gdb says that the program received signal 11, segmentation-fault)

Can YOU tell me how to solve the problem?
(I guess malloc gets in conflict with the
 memory protection of OS/2 2.0 but doesn't recognize 
 it as an error) 
Is there a way to use the virtual memory management
when allocating store on the heap?
From: keating@casemo.UUCP (John Keating )
Newsgroups: comp.os.os2.programmer
Subject: Re: Are games for OS/2 doomed? (If Vio, Kbd, and Mou are phased out.)
Date: 27 Sep 92 20:28:48 GMT
Organization: Dowty Communications, Inc.

In article <-192829999@hpopd.pwd.hp.com>, yuk@hpopd.pwd.hp.com (Yuk Lun Chan) writes:
> To make OS/2 success, IBM should involved more in PC games. How about pays
> MicroPro so that they port some of their famous games into OS/2. I think it
> would make their life easiler without reading overlays all the time. Or
> generates background picture with multi-threads.

This is an excellent idea.  How many people bought more powerful machines
in order to play games like Falcon 3.0, or Ultima IV(?) (even if they 
claimed that that wasn't the reason...  :^)?  People buy these machines to
play games!  (Not all, I admit.)  Get some native-OS/2 games, and the
crowds will follow.  I would hazard a guess that more people own Ultima
games than own WordPerfect.  Develop some games or provide incentives for
companies like Microprose or whomever to develop them.

John Keating, III
( No, this wasn't because I want more games...  I have a tendancy to not
have games on my system, and when they are on, they tend to be unused after
a week's play...  )
From: sal8@po.cwru.edu (Steve Luzynski)
Newsgroups: comp.os.os2.programmer
Subject: Re: Looking for 2.0 shareware apps
Date: 28 Sep 1992 18:32:15 GMT
Organization: Case Western Reserve University
NNTP-Posting-Host: b61442.student.cwru.edu

In article <woNTRB2w165w@cybernet.cse.fau.edu> jpolizzi@cybernet.cse.fau.edu (joe polizzi) writes:
>From: jpolizzi@cybernet.cse.fau.edu (joe polizzi)
>Subject: Looking for 2.0 shareware apps
>Date: 28 Sep 92 17:27:43 GMT
>Hi guys:
>
>I am looking for any (and all) shareware apps that take
>advantage of OS/2 specific capabilities. I saw information 
>here about "dirman." Haven't seen the software yet. If you
>have seen ANYTHING outstanding that is OS/2 exploitive please
>leave a post under the same thread. Thanks!
>
>Joe
>==============================
>Internet: jpolizzi@cybernet.cse.fau.edu
>Internet: jpolizzi@goliath.pbac.edu
>Fidonet: Joe Polizzi at 1:369/68
>Compuserve: 71075,2553

 Try ftp-os2.nmsu.edu. They have the most complete collection of OS/2 
software I've run across yet.

 As far as specific programs go, the most interesting ones I have found are 
FRACTINT for OS/2 and any of the various comm programs available. Other than 
that most of the stuff available is utility type stuff. 
----------------------------------------------------------------------------
Steve Luzynski @ Case Western Reserve University in scenic Cleveland, OH
sal8@po.cwru.edu    |-------------------------------------------------------
--------------------| Life is more than going to class and doing homework.
Don't believe any-  | Life is getting drunk, having wild sex, and waking
one you haven't     | up wondering why you're sleeping in a clothes dryer.
seen naked.         | (Go do your homework. Life sucks.)
----------------------------------------------------------------------------
From: d9mikael@dtek.chalmers.se (Mikael Wahlgren)
Newsgroups: comp.os.os2.programmer
Subject: Re: Novell NetBIOS
Date: 2 Oct 92 22:33:07 GMT
Organization: Chalmers University of Technology, Gothenburg Sweden

peterf@vnet.ibm.com (Peter Forsberg) writes:

>>How do I write my OS/2 programs to be binary compatible with both the IBM
>>(Lan Server) NetBIOS and Novell (OS/2 Requester) NetBIOS?  I have written
>>a NetBIOS application for IBM Lan Server, but when running Novell, it
>>(naturally) can't find the ACS DLL's.  I suppose I will need the NETAPI.DLL
>>from Novell instead?  But how do I do to get the compiled code run at both
>>systems?

>I think that the best thing for you to do is to write your own NetBIOS
>DLL, which converts from your own "generic" NetBIOS calls to either of
>IBM's or Novell's.

Well, some investigation, shows that the NETAPI.DLL is supported BOTH by
Novell and IBM (NetBIOS Submit), while the ACS library (netBIOS NB30) is
only supported by IBM.  So the compatibility issues are solved.

But I still have some questions regarding NetBIOS (the NetBIOS Submit/NETAPI
package).  It is possible to open the driver in three different modes 
(REGULAR, PRIVELIGED, EXCLUSIVE).  What I don't really understand, is
what I can do with the different modes.  What I want to do, is to receive
DATAGRAMS, and this seems impossible in REGULAR and PRIVELIGED mode?  WHen
I try to open the driver in EXCLUSIVE mode, it refuses with an ACCESS
ERROR.  Supposedly there is another application (the Lan Requester?) that
already has opened the driver in PRIV/REGULAR mode, in which case the
EXCLUSIVE mode can't be used.  But in that case, it would be pretty
hard to use the EXCLUSIVE mode for anything at all?

What I want to accomplish, is to get the same functionality by using the
Submit/NETAPI library, as I get by using the NB30/ACS library.  When I
use the NB30 interface, I seem to have complete control of the NetBIOS
session (I can RESET and receive DATAGRAMS).

I have also noticed that the Submit/NETAPI DLL don't automaticly de-allocate
the resources I have allocated, when issuing the NetBiosClose call.  I
have to manually delete all names that I have added, before closing the
device.  If I don't I seem to loose all control of that name, as I can't
add the name again (already in name table, naturally) and I can't delete
it at that time, as I have lost the referencing num-fields.  I thought the
NetBiosClose call was intended to ensure that all resources I claimed, was
released.

Mikael Wahlgren