AW: error in revdb_connect with special chars in path

viktoras didziulis viktoras at ekoinf.net
Tue Aug 19 04:27:03 EDT 2008


possible workaround would be using relative path instead of absolute and 
then
put "lexikon.db" into dbPath
put revOpenDatabase("sqlite",dbPath,,,,) into dbId

When working in IDE first change your defaultFolder to be applications 
folder. Or alternatively you might set your default folder to whatever 
is in your gPfadDB

Viktoras

Tiemo Hollmann TB wrote:
> Hi Viktoras,
> could be, but must not.
> Thanks for your hint
> Tiemo
>
>   
>> -----Ursprüngliche Nachricht-----
>> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
>> bounces at lists.runrev.com] Im Auftrag von viktoras didziulis
>> Gesendet: Dienstag, 19. August 2008 10:08
>> An: How to use Revolution
>> Betreff: Re: error in revdb_connect with special chars in path
>>
>> Hi,
>>
>> if the folder is one of the special folders might the
>> specialFolderPath()  help? On Windows it can be used in combination with
>> folder ids' as listed here:
>> http://msdn.microsoft.com/en-us/library/bb762494.aspx
>>
>> Best wishes
>> Viktoras
>>
>> Tiemo Hollmann TB wrote:
>>     
>>> Hello,
>>>
>>> Win XP, Rev 2.9. I just detected that revdb_connect has problems with
>>> special chars in the db path. When having a special sign - in my case
>>>       
>> german
>>     
>>> umlaut - the revdb_connect fails. A path with standard chars works
>>>       
>> perfect.
>>     
>>> I coded:
>>>
>>> put revdb_connect("sqlite",gPfadDB & "lexikon.db",,,,) into gConID
>>>
>>> where the path in gPfadDB has a german umlaut. I also tested the
>>>       
>> standalone
>>     
>>> with the same effect. Is it really that I have to tell my customers they
>>> can't use german chars in their installation path or is there any
>>> workaround?
>>>
>>> Thanks for any tipp
>>>
>>> Tiemo
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>>       
>> subscription preferences:
>>     
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>>
>>>
>>>       
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>     
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>   




More information about the use-livecode mailing list