Setextensions
    Bart Pietercil 
    bart.pietercil at gmail.com
       
    Tue May 29 10:22:30 CDT 2007
    
    
  
>
> All your questions will be answered as only you note this:
>
>     engine just have 4 global variables,
>     that keep these 4 strings.
>
>     db.Create() look here and create new files using them.
>     The same for db.Open()
>
>> Can I do multiple calls to Valentina.SetExtensions within one  
>> session ?
>
> Yes, just override variables
Now this is valuable info to put in the Wiki :-)
Which leads of course to the next question ( the fool can always ask  
more then the wise man can answer):
While I can see where Create uses the extensions for (SETTING the  
extensions on the needed files) this is not completely clear for Open
Since I pass  the filename (folderitem) of the descriptorfile 
(normally ".vdb") to the Open function AND the header of this file  
describes the tree other extensions needed (data,blob,ind) why would  
Open still need to look at the settings of the globals in the engine ?
Thanks
Bart
    
    
More information about the Valentina
mailing list