home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4900 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!torn!utzoo!dciem!r-node!bville!greg.vigneault
  2. From: greg.vigneault@bville.gts.org (Greg Vigneault)
  3. Newsgroups: comp.lang.pascal
  4. Subject: NETBIOS AND NETWARE LIBRA
  5. Message-ID: <528.495.uupcb@bville.gts.org>
  6. Date: 18 Aug 92 13:26:00 GMT
  7. Reply-To: greg.vigneault@bville.gts.org (Greg Vigneault)
  8. Organization: Baudeville BBS - Toronto, Canada 416-283-0114/6059* *v32bis/HST
  9. Lines: 28
  10.  
  11.  
  12.  In message <11AUG199217443797@gergi.tamu.edu>
  13.  Subj: Netbios and Netware Libraries (easy)
  14.  chris@gergi.tamu.edu (Chris King) wrote...
  15.  
  16. CK>I'm trying to write libraries for both Novell and NetBios.  My
  17.   >problem is that I only have examples written in C. I can program
  18.   >in C, but I have alittle trouble converting to pascal, I have a
  19.   >routine in C that works fine for Netbios the following.
  20.   >
  21.   >void NetBios(NCB far *ncb_ptr)
  22.   > {
  23.   >  ncb_ptr->ncb_cmd_cplt = 0xFF;
  24.   >  _ES   = FP_seg(ncb_ptr);
  25.   >  _BX   = FP_off(ncb_ptr);
  26.   >  _AX   = 0x0100;
  27.   >  geninterrupt(0x5c);
  28.   > }
  29.  
  30.  Please post the complete structure of the Turbo Pascal RECORD that
  31.  is being accessed.
  32.  
  33.  Greg_
  34.  
  35.  Aug.18.1992.Toronto.Canada.
  36.  greg.vigneault@bville.gts.org
  37.  gregsv@eastern.com
  38.    
  39.