Article View: comp.protocols.appletalk
Article #4156AppleTalk from Turbo
From: NightWalker
Date: Mon, 29 Jun 1987 20:00
Date: Mon, 29 Jun 1987 20:00
44 lines
1974 bytes
1974 bytes
This group seems to be dealing primarily with Mac <--> Mainframe
applications but perhaps someone might know?
I am using Borland's Turbo Pascal to write a program using Appletalk.
To say the least, the information included inside of the Turbo manual
is minimal (how to include the code, what is defined, and copyright
infringments).
I have typed in the Name Binding Protocol code from Inside Macintosh
Volume II (pp. 302 - 303) making it a procedure. All variable
declarations are self-contained within said procedure. The only other
change involved nbpNameBufSize which wasn't defined for TP. It is
defined below as suggested by Han@Apple.UUCP. The code appears to
work up until the extraction of returned information--Error -3104
{ExtractErr}.
Han@Apple.UUCP thought that it should be as follows (His suggestion
fixed an earlier hanging system problem on 512Ke's on a MacServe
network when compared to a non-MacServe network, Thanks Han). The
error now consistently appears each time it is run which is much
prefered to a hung system:
{from Vol. II p. 302}
...
with myABRecord^^ do
begin
...
{old line: nbpBufSize := nbpNameBufSize;}
{now the replacement}
nbpBufSize := length(objstr)+length(typestr)+length(zonestr)+12;
...
end;
...
Any ideas, hints, or skeletons would be appreciated.
Thanks in advance,
Kevin
--
Kevin S. Wiechmann
"This posting is a figment of my imagination."
arpa: WIECHMAN@RUTGERS.EDU
Technical Details
Message-ID:
<13024@topaz.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!topaz.rutgers.edu!wiechmanShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!topaz.rutgers.edu!wiechman From: wiechman@topaz.rutgers.edu (NightWalker) Newsgroups: comp.protocols.appletalk Subject: AppleTalk from Turbo Message-ID: <13024@topaz.rutgers.edu> Date: Mon, 29-Jun-87 16:00:37 EDT Article-I.D.: topaz.13024 Posted: Mon Jun 29 16:00:37 1987 Date-Received: Tue, 30-Jun-87 07:12:37 EDT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 44 Keywords: hints?