-It works fine in 95.
-take the same program to NT and even though the Netbios library says that
it can be ported to NT.. I cannot add a name without getting netbios error
x34 "environment undefined reset required" (this error does not occur in
95)
-if I do a Reset as requested by the error message I get a x1F error (which
is undefined in the nb30.h file)
-I have noticed that the netapi32.dll file is quite a bit larger in NT than
95.
- can someone tell me what "environment" they are talking about and where I
can pick one up? Or Even shed some light on this message would help..
Thanks in advance for your help..
Brian Sulka
bsu...@lanier.com
First, issue an NCBENUM command to enumerate the available LANAs. It is
quite possible that your NT configuration does not have a default (0x00)
LANA, so you should get the list of available LANAs.
Then, for each LANA, do an NCBRESET command (setting the ncb_lana_num field
to the correct LANA), to reset the "environment". Since LANAs may refer to
NDISWAN (or RAS/Dial-up networking) circuits, you may want to do an
NCBASTAT to check the status (look at the adapter_address field of the
status buffer) to see whether it is a RAS or NIC address (it should be
pretty apparent).
As an alternative, you can set a default LANA (I think) in Control Panel,
but you can't count on users/customers having done this, so you probably
need to assume that it hasn't been done, and use this painful process. You
have these issues in Win95 as well, but I think Win95 requires a default
LANA, so you probably haven't seen it.
Brian Sulka <bsu...@lanier.com> wrote in article
<01bce2ff$dacc6f20$695c...@bsulka.pd.lanier.com>...