home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code2 / str2bmp / readme.txt next >
Text File  |  1993-06-13  |  2KB  |  32 lines

  1. README FILE
  2. -----------
  3.  
  4. STR2BMP.DLL v 1.0 (6-13-93)
  5. ---------------------------
  6.    STR2BMP.DLL contains a DLL called STR2BMP.DLL for converting VB bitmaps
  7. into VB strings and vice versa. Also included are functions for inverting,
  8. ANDing, ORing, and comparing bitmaps that have been converted to strings.
  9.    The source code for STR2BMP.DLL is included and may be modified as needed.
  10.  
  11. I. Instructions for demo.
  12.     A. Install all the files from STR2BMP.ZIP into a directory called C:\STR2BMP.
  13.     B. From VB/WIN, load the C:\STR2BMP\TEST.MAK program and execute it.
  14.     C. The code demonstrates converting bitmaps to strings, performing operations
  15.          on the strings, and converting the strings back into bitmaps.
  16.  
  17. II. Technical information.
  18.     A. The source code included was compiled using Borland C++ 3.1.
  19.     B. The maximum size bitmap that can be converted into a string using this DLL
  20.          is 32000 pixels.
  21.     C. To AND/OR two bitmaps, the bitmaps must be the same size.
  22.     D. Always remember to create a string large enough to hold the entire bitmap
  23.          before calling DLL functions that expect strings containing bitmaps. Otherwise
  24.          you may get a GPF. See sample code in TEST.FRM. The current DLL does
  25.          not check the size of the string before trying to fill it!!! An error will
  26.          be caused if you try to stuff too much bitmap into too small a string!!!
  27.     
  28. III. Questions or suggestions.
  29.     Please contact Jorge Monasterio at Compuserve 72147,2674 if you have
  30.     any questions or suggestions about this DLL.
  31.  
  32.