My mysql table ||||||id ||User |||| pass 1 aaa bbb 2 dddd bzzbb
I could not do , ackmysql_query_result_threaded("SELECT * FROM users WHERE User ='dddd'",1); wait(5); num_rows = ackmysql_num_rows(1); ackmysql_fetch_row(1, 1, result);
result = 2 . it is id. Bud I want result pass. I try ackmysql_fetch_row(1, 2, result); bud did not.
hi... im having a problem connecting 3dgs to ackmysql... it always says empty prototype in main when i run the test... i alread placed the necessary files (dlls and headers) to their respective folder but im still having problems.. im using only a free version of 3dgs..
No, ackmysql would crash if you don't initialize it. You won't get an empty prototype error. Did you copy also libmysql.dll to your projects plugin dir? Show me your acklog. Did you install VC++ 2010 redistributable (32 bit)?
i copy the ackmysql.dll and libmysql.dll to c:\Program Files\GStudio7 (i think is there where i have to paste those files)
then i paste the ackmysql.h to my project folder and tried the test.c that you include in the zip file.
I change the information of the database with mine, but when i run the program, says an error "Empty prototype called in main" and also "Couldn't connect to mysql server".
If some one knows why im having this errors?, i would be very pleased because im trying to use gamestudio for a project and using a database is a must.