home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / AW2.ZIP / README < prev    next >
Text File  |  1989-11-26  |  3KB  |  69 lines

  1. This is a sample program that I wrote to learn more about using dialog  
  2. boxes. It is not a perfect program but is useful . I have include the 'C'
  3. source so other people can make modifications to better suit there needs.
  4.    If anyone has suggestions on how to improve this program please let me
  5. know. I can be reached on my BBS. Following is the info on it:
  6.  
  7.                       Compu-Plane
  8.                       818 843-3507  300/1200/2400
  9.                       818 843-4874  300/1200/2400/9600 on a Courier HST.
  10. Both lines are 8,N,1 and are available 24 hrs a day. The BBS is also running 
  11. in the protected mode of OS/2.
  12.  
  13.    There are two main menu selections. The first allows you to select the 
  14. search parameters. The current drive is the default. This dialog box uses four can 
  15. different styes of dialog entries(Listbox,Edit box,checkbox, and Pushbotton).
  16. The second selection is the exit selection. It seems to make most users more
  17. comfortable to have this selection, even though you can close it with the
  18. system menu.
  19.  
  20.    Hopefully this example will help others develop OS/2 PM applications. You 
  21. are free to pass this program along to others.
  22.  
  23.  
  24. ===========================================================================
  25.  
  26.                                
  27.                                                    Corrections For OS/2 ver 1.2
  28.                                                    ----------------------------------------------
  29.  
  30.     OS/2 ver 1.2 released in 1989 introduced the High Performance File System (HPFS)
  31. which is a radical departure from the FAT file system used by DOS and CP/M.
  32.  
  33.     One of the innovations of the HPFS is the use of longer file names, and the
  34. characters which may make up a file name.  The convention is much like Unix, except that
  35. forward slashes (/) are not used as delimiters:  the HPFS still uses the DOS backslash 
  36. (\ ).  
  37.  
  38.     Thus, under the HPFS, the following is a legal filename:
  39.  
  40.             this.test.file.for.program-a
  41.  
  42.     The complete pathname could be:
  43.  
  44.             d:\myfiles\this.test.file.for.program-a
  45.  
  46.     Naturally, this new naming convention presents a problem with OS/2 ver 1.0 and
  47. 1.1 file finding utilities, because the length of permissable filenames was usually hardcoded
  48. in the program.  It was even hardcoded in the Microsoft header files.  Thus, these utilities 
  49. would not work for the HPFS.
  50.  
  51.     AW.EXE is a nice program.  The coding is very well done.  With a few simple changes
  52. I was able to port it to OS/2 ver 1.2.  I changed the necessary buffer sizes, and it now functions
  53. under ver 1.2, and will locate files using the new naming conventions.
  54.  
  55.     The only other changes I made were in the appearance of the Dialog Box, and a 
  56. cosmetic change to the strings emited after the search ( they needed a newline character added
  57. so that they would wrap correctly ). 
  58.  
  59.     If these changes meet with your approval, your are free to use this uploaded
  60. executable as you like.
  61.  
  62.                 
  63.                         Harve Jay Schiffman
  64.  
  65.                         CIS 72261,347
  66.  
  67.     
  68.  
  69.