-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brown, Daniel wrote: > I'm attempting to wrap SQLite with Managed C++ and I'm getting some > compiler warnings as the compiler/linker is have trouble finding the > declaration of the structure 'sqlite3_stmt', I've tried looking for it > manually but I can't find it either all I can find is a typedef on line > 2569 of slite3.h.
You code will only ever use a pointer to the structure and never any of the fields. Consequently there is no need to know what the structure is. If the compiler still gives you grief then change sqlite3_stmt pointers to be void pointers or make a dummy structure with no/one element. Actually including the real description will cause problems if the compiler takes note of the contents since the structure is allocated and managed by SQLite itself (completely opaque to you). SQLite can change the contents at any point between releases so binding deeply to it will cause problems as the DLL changes. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIsyc+mOOfHg372QQRAv1wAKDBN2HcoU0s448CUe0/d3eGQnb4dwCg4w4K aA+sY8a40QrKaVNkXz3Ecbw= =eSBm -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users