1. François Van Lerberghe
  2. Valentina Database ADK
  3. 土, 9月 28 2019, 12:50 PM
  4.  メールで購読
I'm unable to create a file (diagnostic report) in the specified folder using the API of Database class "VDatabase.Diagnose(inVerboseLevel, inFile)"
The file is always created next to the app (project) with a name that is the shell path of the folder.

V4RB 9.5.3, Xojo 2019r1.1, MacOS 10.14.6

My code is :

dim f As FolderItem
dim result As Integer
f = SpecialFolder.Temporary.Child("MyDiagnoseReport.txt")
result = self.Diagnose(0, f)


How can I create the file in the specified folder ?
コメント
There are no comments made yet.
François Van Lerberghe 承諾済みの回答
result = self.Diagnose(0, f)

(self is an instance of Database class)
コメント
There are no comments made yet.
François Van Lerberghe 承諾済みの回答
And it's the same issue with Database.Create, Database.Clone, ...
コメント
There are no comments made yet.
Ruslan Zasukhin 承諾済みの回答
Hi Francois,

we will check this
コメント
There are no comments made yet.
Ivan Smahin 承諾済みの回答
I've tried

MacOS 10.14.6
Examples/API/Database_Diagnose
Xojo 2019 Release 1.1
V4RB 9.6

Everything works as expected.
コメント
There are no comments made yet.
François Van Lerberghe 承諾済みの回答
Ok. Good news.
I narrowed down the problem and have been able to reproduce with Examples/API/Database_Diagnose *when I build for 32 bits*.
No problem building for 64 bits. As 32 bits is going to be deprecated, I don't think you must worry about that.
Mmmh, except perhaps if we build in Windows 32 bits that is actually allowed (but I had not tested in Windows).

Thank you for your attention.

François
コメント
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. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories