Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Foxlib v1.0 - <b>introduction</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                INTRODUCTION

FOXLIB is a command library that will allow you to perform low level
commands from the dot prompt, FoxPro command window, and from within your
favorite programs (i.e. FoxPro and FoxBASE +).  Also, FOXLIB version 1.0
commands can be moved from one flavor of FOX (i.e.  FoxPro version 1.02 and
FoxBASE + version 2.1) to another without any modification.

Please note that you will see the word FOX being used throughout this
manual. FOX refers to FoxPro and FoxBASE +.

FOXLIB was developed for the following reasons:

(1) To help you support your FOX application.  For example, if you include
the GETPCENV.PRG program (included on the FOXLIB system disk when you
register) in your application, you can quickly obtain information about your
clients' PC environment.  This should help you in supporting your FOX
applications when you are talking with your client on the phone.

(2) To help you install your FOX application.  For example, if you use the
INSTALL.PRG program (included on the FOXLIB system disk when you register)
in your FOX installation program, you can perform low-level DOS commands in
the background (e.g. MD, CHDIR, etc.).  This will give your installation
program a professional look.

(3) To help your FOX program communicate with your printer.  For example, an
end-user has placed the incorrect baud rate in their config.sys file.  You
can initialize the serial printer with the correct baud rate within your FOX
application.

FOXLIB will not solve all of your problems, but it will give you an edge in
supporting your FOX programs.

You may already have noticed that the examples in this manual are from
either the dot prompt or FoxPro command window.  I did this to show you how
easy the FOXLIB commands are to use.  If you are a beginner to FOX,
performing FOXLIB commands from the dot prompt or Foxpro command window will
be easier to grasp.  The intermediate and advanced FOX users can use all of
the FOXLIB commands in their programs.

Also, the FOXLIB commands will become very useful to the FOX user for the
following reasons:

(1) When executing DOS commands from the dot prompt or FoxPro command
window, the FOX RUN command requires additional memory than FOXLIB since it
has to load another DOS command.com file into memory.  If the computer you
or your client is using does not have sufficient memory for the RUN command
(this could be due to your application or the amount of memory installed on
the computer), you will receive the dreaded "Insufficient memory" error
message on your computer screen, and you will not be able to execute your
DOS command.

(2) The FOXLIB commands are written in assembly language - the computer's
language.  Thus they are very fast, much faster than the RUN command, and
take very little memory.  As little as 20 bytes!

(3) Most of the FOXLIB commands (e.g. nodrives, mousedrv, mathcopr, xmsdrv,
cursor, printer status, etc.) are not accessible from the FOX RUN command.

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