home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / S12191.ZIP / README.A < prev    next >
Text File  |  1990-02-02  |  1KB  |  45 lines

  1. This is an example of using MS OS/2 queues from BASIC. In this 
  2. example, a single BASIC process (running in one OS/2 screen group) 
  3. creates a queue, writes information to the queue, and reads 
  4. information back from the queue. The example uses the following MS 
  5. OS/2 API calls:
  6.  
  7.    DosCreateQueue
  8.    DosReadQueue
  9.    DosWriteQueue
  10.    DosQueryQueue
  11.    DosCloseQueue
  12.    DosPeekQueue
  13.    DosPurgeQueue
  14.    DosAllocShrSeg
  15.    DosGetShrSeg
  16.  
  17. This information applies to Microsoft BASIC Compiler Versions 6.00 and
  18. 6.00b for MS OS/2, and to Microsoft BASIC Professional Development 
  19. System (PDS) Version 7.00 for MS OS/2. (This information does not 
  20. apply to Microsoft QuickBASIC, which supports only the MS-DOS 
  21. operating system.)
  22.  
  23. More Information:
  24.  
  25. The following files make up this example:
  26.  
  27. 1. Q3.BAS - A program that creates/reads a Queue
  28.  
  29. 2. QUEUE.BI - An include file used by Q3.BAS
  30.  
  31. 3. UTIL.BAS - BASIC routines to read/write shared memory
  32.  
  33. 4. README.A - Text file describing how to compile, link, and run this 
  34.               example (as shown below).
  35.  
  36. The compile and LINK instructions are as follows:
  37.  
  38. 1.  BC q3;
  39.  
  40. 2.  BC util /x;
  41.  
  42. 3.  LINK q3 util;
  43.  
  44. Now you can run Q3.EXE.
  45.