Re: [sqlite] no VFS error

2008-04-19 Thread Toby Roworth
Thanks - that seems to have fixed it

D. Richard Hipp wrote:
> On Apr 19, 2008, at 9:19 AM, Toby Roworth wrote:
>   
>>> What value are you passing as the 4th argument to
>>> sqlite3_open_v2()?  (I assume you are using sqlite3_open_v2()
>>> since that seems the mostly likely way to get this error.)
>>>
>>>   
>> I'm passing a blank string - this would appear to be the problem!
>> errorCode = sqlite3_open_v2("data/texts.db", ,
>> SQLITE_OPEN_READONLY, "");
>>
>> 
>
> A null pointer (aka zero).  0.  Very different from an
> empty string.
>
> D. Richard Hipp
> [EMAIL PROTECTED]
>
>
>
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
>
>   

-- 

Sent by Toby Roworth ([EMAIL PROTECTED])
This message is intended for the named reciepients only, and should not 
be forwarded without permission
The conents of this message may be ©Toby Roworth


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


Re: [sqlite] no VFS error

2008-04-19 Thread D. Richard Hipp

On Apr 19, 2008, at 9:19 AM, Toby Roworth wrote:
>>
>> What value are you passing as the 4th argument to
>> sqlite3_open_v2()?  (I assume you are using sqlite3_open_v2()
>> since that seems the mostly likely way to get this error.)
>>
> I'm passing a blank string - this would appear to be the problem!
> errorCode = sqlite3_open_v2("data/texts.db", ,
> SQLITE_OPEN_READONLY, "");
>

A null pointer (aka zero).  0.  Very different from an
empty string.

D. Richard Hipp
[EMAIL PROTECTED]



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


Re: [sqlite] no VFS error

2008-04-19 Thread Toby Roworth
D. Richard Hipp wrote:
> On Apr 19, 2008, at 7:41 AM, Toby Roworth wrote:
>
>   
>> When attempting to open a database, I am getting a "no such vfs"  
>> error.
>>
>> What is likely to be causing this - a quick search suggested that vfs
>> may stand for virtual file system - is this right?
>>
>> Any help would be appreciated
>>
>> 
>
>
> What value are you passing as the 4th argument to
> sqlite3_open_v2()?  (I assume you are using sqlite3_open_v2()
> since that seems the mostly likely way to get this error.)
>   
I'm passing a blank string - this would appear to be the problem!
errorCode = sqlite3_open_v2("data/texts.db", , 
SQLITE_OPEN_READONLY, "");

What shoudl I be passing (on a windows system)

Thanks
> D. Richard Hipp
> [EMAIL PROTECTED]
>
>
>
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
>
>   

-- 

Sent by Toby Roworth ([EMAIL PROTECTED])
This message is intended for the named reciepients only, and should not 
be forwarded without permission
The conents of this message may be ©Toby Roworth


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


Re: [sqlite] no VFS error

2008-04-19 Thread D. Richard Hipp

On Apr 19, 2008, at 7:41 AM, Toby Roworth wrote:

> When attempting to open a database, I am getting a "no such vfs"  
> error.
>
> What is likely to be causing this - a quick search suggested that vfs
> may stand for virtual file system - is this right?
>
> Any help would be appreciated
>


What value are you passing as the 4th argument to
sqlite3_open_v2()?  (I assume you are using sqlite3_open_v2()
since that seems the mostly likely way to get this error.)


D. Richard Hipp
[EMAIL PROTECTED]



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


[sqlite] no VFS error

2008-04-19 Thread Toby Roworth
When attempting to open a database, I am getting a "no such vfs" error.

What is likely to be causing this - a quick search suggested that vfs 
may stand for virtual file system - is this right?

Any help would be appreciated

Toby Roworth
-- 

Sent by Toby Roworth ([EMAIL PROTECTED])
This message is intended for the named reciepients only, and should not 
be forwarded without permission
The conents of this message may be ©Toby Roworth


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