Eric Pankoke wrote:
Could somebody please explain to me what the return value of sqlite_open
means?  I'm sorry if this is a basic C++ thing, but I don't understand what
an "opaque structure" is. [...]

"Opaque structure" means it's none of your business what it contains :) Ypecifically, you should only use the pointer and not try to mess with the structure yourself.


I'm trying to write a wrapper for the .NET
compact framework, and while my call to sqlite_open doesn't puke, my call to
sqlite_get_table does, and I think it's because I'm not using the right type
of variable to contain the database handle as returned by sqlite_open.

Use whatever is the equivalent of void* in your .NET environment.


Also I'd recommend you try to adapt one of the many .NET wrappers out there to .NET compact. That should be easier than rolling your own, I suppose.

-- Gerhard


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to