[VSDK] Index path
Ruslan Zasukhin
sunshine at public.kherson.ua
Wed Dec 3 09:45:35 CST 2003
on 12/3/03 9:22 AM, Eric Forget at forgete at cafederic.com wrote:
Hi Eric,
> Would you mind to add a member function to VDK_DataBase so we can set a
> different path for the index (.ind) file? It may looks like this:
>
> FBL_EXP virtual void SetIndexPath(const char* inIndexFullPath);
>
> The problem is this. I will ship my application with a built database w/o
> the index file, to save download. However, once installed, it is not
> guaranteed that the user of my application will have the write permission to
> the application package. So, I see 2 solutions:
>
> 1) Write a tool that I call with the authentication service just to create
> the index.
>
> 2) I place the index somewhere I'm sure every user have the write permission
> (i.e. Inside the Home tree).
>
> I prefer 2), since I think also it is better to not alter the application
> package once on a user machine. Also, the user may need to ask another user
> to come an authenticate him/herself just for that.
>
> For you, it should not be too difficult, since it is only at the opening of
> the index file it makes a difference?
I will try.
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list