When I try to run MySqlTest (which compiles just fine) on windows XP I get following error messages:

 

(mono MySqlTest.exe)

 

** (MySqlTest.exe:3924): WARNING **: Failed to load function mysql_connect from libmySQL

 

** (MySqlTest.exe:3924): WARNING **: Failed to load function mysql_connect from libmySQL

 

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object

in <0x00025> 06 Mono.Data.MySql.MySql:Connect (intptr,string,string,string,string,uint,string,uint)

in <0x003e6> 00 Mono.Data.MySql.MySqlConnection:Open ()

in <0x00057> 00 Test.Mono.Data.MySql.MySqlTest:Main (string[])

 

Why will it not load mysql_connect? Apparently its loads all the other functions from libmySQL.dll..

 

 

Reply via email to