Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> microsoft visual basic 3.x and later</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Microsoft Visual Basic 3.x and later
------------------------------------------------------------------------------
 Visual Basic 16 bit programs use NOVLIB.DLL rather than the supplied static
 libraries (.LIB files), because the Visual Basic environment does not
 support static linking. Visual Basic 32 bit programs use NOVLIB95.DLL.
 Currently 32 bit programming is supported under Windows 95 only.
 Two header files containing the NOVLIB function declarations are provided
 for 16 and 32 bit versions of Visual Basic. The declarations files are both
 named `NOVLIB.BAS' and can be found in separate directories in the
 installation directory. Visual Basic uses the function declarations found
 in this file to ensure that you pass the correct number and type of
 arguments to NOVLIB functions.

 NOVLIB Data Types and Visual Basic

 When reading the function reference chapter of this manual, you will notice
 that each function argument and return value is denoted by a variable that
 has a `hungarian' prefix denoting the type of the variable that is
 required. The following table lists the hungarian prefix and the
 corresponding Visual Basic data type.

 Prefix  Parameter Type                  Visual Basic Type
 b       Boolean                         integer  (%)
 dw      Unsigned 32 bit integer         long     (&)
 i       16 bit signed integer           integer  (%)
 l       Signed 32 bit integer           long     (&)
 lpdw    Long pointer to 32 bit integer  long     (&)
 lpsz    Long pointer to ASCIIZ string   string   ($)
 lpby    Long pointer to byte            string   ($)
 w       16 bit unsigned integer         integer  (%)

 NOVLIB functions that return a `date' actually return a string to Visual
 Basic in the ANSI format `YYYYMMDD'.

 Visual Basic will give compile time errors if you attempt to pass variables
 of the incorrect type, and will also take care of passing function
 arguments in the correct form (by value or by reference) as specified in
 NOVLIB.BAS.

 Using NOVLIB in your Visual Basic programs

 In order to call NOVLIB functions from your Visual Basic programs, you need
 to inform Visual Basic that you are using NOVLIB in your program. This is
 achieved by either adding the appropriate 16 or 32 bit version of
 `NOVLIB.BAS' to your project using the Visual Basic File|Add menu option,
 or alternatively cutting and pasting the required declarations from
 NOVLIB.BAS directly into the general declarations section of your main
 form. Ensure you include the appropriate version of NOVLIB.BAS (16 or 32
 bit)

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson