AW: bug report

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Oct 5 14:37:05 CDT 2005


On 10/5/05 1:47 PM, "martin.schaffner at swisstopo.ch"
<martin.schaffner at swisstopo.ch> wrote:

>> Probably, but should only as read only right ?
>> 
> Yes, as it can't open it read-write, it should try opening it readonly.
>>  
>>> This problem would not exist if I was able to open a VDB file readonly,
>>> independant of any permissions (OpenDatabaseReadonly("file.vdb")). Could
>> you
>>> add a request into the bug tracking system for that?
>> 
>> I think better recognize that file is readonly thanks to permissions,
>> And open it as readonly automatically.
>> 
> It is necessary that Valentina recognizes that the file is readonly. It does
> not matter if this works thanks to permissions or thanks to the error code
> that results from trying to open it read-write, or both.
 
> But on the other hand, I would still like to have a Valentina function that
> lets me open a file readonly even if I would be able to open it read-write,
> because opening it read-write prevents other instances of the application to
> open it at all. 

> I know I could have multiple database users with client
> server technology, but I prefer to do it simply with two instances of my
> application, without having to set up a server.

So you want db can be sometimes read only, sometimes read/write depending on
choice of db.open() ?

I see. 

> Could you please add a request for a new function OpenDatabaseReadonly (or
> argument to the function OpenDatabase, to do it readonly)? Thank you!

Why you self not add it? :-)

    http://paradigma.ukrcom.kherson.ua/bt/


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list