1. Beatrix Willius
  2. Valentina Database ADK
  3. Вторник, Февраль 02 2021, 05:36 PM
  4.  Подписаться через email
Some very simple code:


dim s as String = "file:///Users/beatrixwilliusxxx/Mail%20Archive%20neu.vdb"
mLocation = new FolderItem(s, FolderItem.PathModes.URL)

try
mdb.Create( location, EVDbMode.kDscDat_Blb_Ind )
catch err As VException
MessageBox(err.Message + " " + str(err.ErrorNumber))
end try


gives me an error -43. What does this error mean? The user doesn't exist.

From the vlog:
Database_Create...
PARAM: inDatabase = 105553169025856
PARAM: inMode = 6
PARAM: inSegmentSize = 32768
PARAM: inNativeOS = 0
PARAM: local_db_path = "/Users/beatrixwilliusxxx/Mail Archive neu.vdb"
ERROR: 0xFFFFFFD5


Latest Valentina, Xojo 2020r2.1, M1, BS
Вложения
Комментарий
There are no comments made yet.
Beatrix Willius Ответ принят
Guys?
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Beatrix,

1. It is compiled for the ARM architecture, what if you try to compile it for x86_64? Is the result the same?
2. Could you please try to use GetFolderItem instead? It is now deprecated, but it is used in examples, we checked them on M1.
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories