Fabio Marcos - 2008-09-01

Hi !

Can someone help with this issue ?

System.ArgumentException: The structure must not be a value class. Parameter name: structure at System.Runtime.InteropServices.Marshal.PtrToStructureHelper(IntPtr ptr, Object structure, Boolean allowValueClasses) at MySQLDriverCS.MySQLDataReader..ctor(Void* result, MySQLConnection _connection, Statement _stmt, Boolean CloseConnection) at MySQLDriverCS.DirectStatement.ExecuteReader(Boolean CloseConnection) at MySQLDriverCS.MySQLCommand.ExecuteReader(Boolean CloseConnection) at MySQLDriverCS.MySQLCommand.ExecuteReaderEx() at WebApplication1._Default.Button1_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\WebApplication1\WebApplication1\Default.aspx.vb:line 22System.ArgumentException: The structure must not be a value class. Parameter name: structure at System.Runtime.InteropServices.Marshal.PtrToStructureHelper(IntPtr ptr, Object structure, Boolean allowValueClasses) at MySQLDriverCS.MySQLDataReader..ctor(Void* result, MySQLConnection _connection, Statement _stmt, Boolean CloseConnection) at MySQLDriverCS.DirectStatement.ExecuteReader(Boolean CloseConnection) at MySQLDriverCS.MySQLCommand.ExecuteReader(Boolean CloseConnection) at MySQLDriverCS.MySQLCommand.ExecuteReaderEx() at WebApplication1._Default.Button1_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\WebApplication1\WebApplication1\Default.aspx.vb:line 22

Thank's !