> however, the program runs well. What may causing the warning? what > should i do to get rid of this warning.
The warning is produced because your callback() isn't int callback(void *, int, char **, char **); try this: int callback(void *foo, int argc, char **argv, char **azColName) { MyStruct *data = (MyStruct *)foo; ....... } haven't checked, but this should blow away the warning.... Bye, Michael _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users