> I am calling now this:
> 
>         [DllImport("sqlite3.dll", CharSet = CharSet.Unicode)]
>         internal static extern System.Int64 sqlite3_open16(string
> filename, out IntPtr handle);
> 
> I now finds an entry point, but i returned to the previous error:
> An attempt was made to read program in invalid format.
> 
> But now everything is 64bit.
> 
> Ti Ny
> 

No offense, but I'm beginning to believe you don't fully grasp what you're
trying to do. First of all, if DW can't find the entry point then it's not
there. Second, I don't think the CLR type corresponding to the return value
of sqlite3_open16 is System.Int64, and I'm not sure what string is (CLR's
string type is String, capital S). How about you upload that DLL of your
somewhere, send a link and I wouldn't mind checking it for you.

- Sherief

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to