> For me a C library as no way to carry a this pointer for a c++ wrapper,
> I pass a static C function as call-pack, and this pointer as usr_data,
> and call member function from there. Maybe I'm wrong but it works:
Ah I see. This is handled by the runtime, the C function gets a pointer to
the
me
Richard Heyes wrote:
> > I don't know what unsafe is, but shouldnt it be static (since no 'this'
> pointer
> > can be expected) ?
>
> The unsafe keyword allows the use of pointers, and there's no need for
> static as the method is passed as an instance method.
>
> --
> Richard Heyes
Does it have
Richard Heyes wrote:
> > I've done a c++ wrapper around sqlite and have no problem with count(*),
> do you
> > check NULL values ?
>
> I check for null pointers in the argv values. Thing is the callback appears
> to run just as it should, the column name is returned as "count(*)", number
> of colu
Richard Heyes wrote:
> Hi,
>
> I'm in the process of writing a C# wrapper for Sqlite, and all is going
> reasonably well. However the following query is giving me problems:
>
> SELECT COUNT(*) FROM myTable
>
> Whenever it's run, a null reference exception is thrown. When stepping
> through the cod
Hi,
I'm in the process of writing a C# wrapper for Sqlite, and all is going
reasonably well. However the following query is giving me problems:
SELECT COUNT(*) FROM myTable
Whenever it's run, a null reference exception is thrown. When stepping
through the code I can see the callback method runni
5 matches
Mail list logo