GMySQL - extension for libmySQL.dll 
	- developed by Gelu Gogancea(gg@unicom.ro) - 09.09.2000.
I make this DLL because one good friend of mine (who work in advetising in Malta) beg me to "write" quickly
a application for Audio and Video tape obviousness . 
I try o lot of SQL servers but i stoped to MySQL. IS VERY FASTER and is GPL.

	
	The scope of this DLL (TypeLibrary) is to make easy accessing and connectivity to MySQL Server 
avoiding the ODBC and  complicated ADO. 
	He can be used in Visual Basic, Excel, Access and like WinAPI function in FoxPro.

INSTALL  -
	- the GMySQL.dll(.TLB and .LIB) and libmySQL.dll is preferable to copy and  reside together in WinSys 
							directory (Ex: C:\Windows\System)   
	- after copy must add in "References" the GMySQL.DLL using "Browse" button in the next way :
		-Visual Basic :
			-Go to "Project" and click in "References" 
		- Excel :
			-Go to "Tools", click in "Macro" and select "Macros"(with "Play" sign)
			-Create a new macro by typing a "macro name" in edit box...
			        ...button "Create" become enabled and click on this button.
			or
			       ...select a existing macro name from the list and click on the "Edit" button.
			-After Visual Basic editor apear go to "Tools" and select from submenu 
			"References".
		- Access:
			- Go to "Tools",select from menu "Macro" and select "Visual Basic Editor"
			- Here,  go to again to "Tools" and select "References".
		
Functions Description. 
      	- fnConnect -Connect to MySQL Server(Unix or Windows Hosting OS)
	         Function fnConnect(Host As String, User As String, Passwd As String, port As Long) As Long
		- Host       : the Server IP address
		- User       : Name of User(registered in the MySQL - Users Database) who wish accessing Server .
		- Passwd : User name password (for User who is registered in the MySQL - different by the 
								network access user name).
				- If the MySQL is not configure for User and Host accessing the
				Password must be empty and  User must be "root".
		- if port is 3306 then parameter port can be 0 or 3306  else must be the port number of the
			MySQL Server.
		Function return 1 for Connect and 0 for Fail.
	
	-MyPing - Check if the Server is "alive" or not.
	           Function MyPing() As Long
		Function return 0 if Server is "alive" and -1 if the Server is "dead".

	- SendQuery - send query to Server
	          Function SendQuery(MyQuery As String) As Long
		- MyQuery  :SQL query who must send  to Server.
		Function return 0 if query was successfully executed otherwise is -1.
 		 	
	- fnNrRows - number of rows.
	          Function fnNrRows() As Long
		Function return total rows number of the last executed query.

	- fnNrFields - number of fields.
	          Function fnNrFields() As Long 
		Function return total fields number of the last executed query.

	- fnCounter - counter for fields/rows "reading".
	          Function fnCounter(NrR As Long, NrC As Long) As Long
	

	- fnFetchField -  fetch fields
	          Sub fnFetchField(sFOutString As String)
		Because the sFOutString is returrned by reference, he must initialize first with empty spaces.
	
	- fnFetchRow - fetch rows
	          Sub fnFetchRow(sROutString As String)
		Because the sROutString is returrned by reference, he must initialize first with empty spaces.

	- FreeMe - release the memory
	         Sub FreeMe()

	- fnClose - close connection
                           Function fnClose() As Long

	Is not to much functions but enough to develop applications.
	In Samples you can see how this functions work.

Have fun.
Gelu