[V4RB] 3.5.2 and RB2008r5

jda jda at his.com
Wed Dec 17 08:56:23 CST 2008


>Hi,
>
>Yes, I tried that but I then get a "Type mismatch error. Expected Ptr, 
>but got VDatabase."
>I am using current 4.0b12 with last RB2008R5.1
>
>Stan
>
>>  On 12/17/08 3:03 PM, "Stan Busk" <maxprog at mac.com> wrote:
>>
>>  Hi Stan,
>>
>>>  Ok, I made the switch. One only problem, I get "You must use the 
>>>  value
>>>  returned by this function here:
>>>
>>>  Sub Constructor()
>>>    VDatabase( EVStorageType.kDisk )    <-----
>>>  End Sub
>>>
>>>  It is my VDatabase Contructor. Not sure what that returned value is 
>>>  as
>>>  WiKi entry doesn't talk about that:
>>> 
>>>http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documenta
>>>  tion:api:vdatabase_class:construction_methods#vdatabase.vdatabase
>>
>>  Yes strange
>>
>>  Try
>>
>  >    call VDatabase()
>>

Hm, I seem to recall a similar problem I had with a RB update a while 
ago. I don't know if it's related, but I use this in the db 
constructor

Parameters: inStorageType as integer = 0

      Super.Constructor(inStorageType)

Jon


More information about the Valentina mailing list