home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #3.1 / RBBSIABOX31.cdr / lawn / lanlink.txt < prev    next >
Encoding:
Text File  |  1985-11-26  |  1.6 KB  |  33 lines

  1.  
  2.     Subject:  LanLink Incompatibility with MicroSoft C
  3.     
  4.     
  5.     While trying to use a program developed using MicroSoft-C(3.0) to 
  6. access files across the LanLink network, we found that the file handles
  7. returned by the LanLink software were incompatibile with the C runtime
  8. functions.  The program most frequently failed to print properly but at
  9. other times the system would lock up requiring it to be rebooted.
  10.  
  11.     Programs developed with MicroSoft-C (v3.0) should not be used with
  12. LanLink since the results will be unpredictable.  We do not know if 
  13. programs developed using other MicroSoft languages will have similiar 
  14. problems.
  15.  
  16.     The Software Link, Inc. support/development people said that the file
  17. handle values are intended to be extra large to distinguish which files have
  18. been opened by the server system and which were opened by satellite systems.
  19. They indicated that it would be too costly to change LanLink to return values
  20. within the limits expected by MicroSoft-C.   
  21.  
  22.     The MicroSoft-C runtime functions for opening and closing files use the
  23. the file handle values as index values into an area beginning with the label
  24. __osfiles in the program link map.  The DOS 2.x documentation indicates that
  25. the file handles are 16 bit values; however, the documentation also says that
  26. the maximum number of open files that a process can have concurrently open is
  27. 20.  The LanLink modification of the file handle values may have serious and
  28. unpredictable effects with many MicroSoft products since MicroSoft is 
  29. apparently assuming file handle values less than 20 for any single process.
  30.  
  31.  
  32.  
  33.