Hi, i have a problem with a script import libmysql.
My sample code is:
But when i run script, program returns me:
"dll calls are not allowed; 'C:\wamp\bin\mysql\mysql5.1.36\bin\libmySQL.dll'-'mysql_init'"
Testing like EA and check import dllīs donīt works too..
Can you help me please?
My sample code is:
Inserted Code
#import "C:\wamp\bin\mysql\mysql5.1.36\bin\libmySQL.dll"
int mysql_init(int db);
int mysql_errno(int TMYSQL);
int mysql_real_connect(int TMYSQL, string host, string user, string password,
string DB,int port,int socket,int clientflag);
int mysql_real_query(int TMSQL, string query, int length);
void mysql_close(int TMSQL);
int handle;
int mysql_store_result(int TMSQL);
string mysql_fetch_row(int result);
int mysql_num_rows(int result);
void mysql_free_result(int result);
#import
int mysql;
//+------------------------------------------------------------------+
//| script program start function |
//+------------------------------------------------------------------+
int start()
{
mysql = mysql_init(mysql); But when i run script, program returns me:
"dll calls are not allowed; 'C:\wamp\bin\mysql\mysql5.1.36\bin\libmySQL.dll'-'mysql_init'"
Testing like EA and check import dllīs donīt works too..
Can you help me please?