RE: connecting to 3.2 valventina database with rev
I tried valentina3 did not work Tracing my steps back I was running valentina 2.5.6 reloaded this works fine -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Mann Sent: Wednesday, August 29, 2007 3:34 PM To: [EMAIL PROTECTED]; use-revolution@lists.runrev.com Subject: connecting to 3.2 valventina database with rev Valentina 3.2 I am getting the following error on the converting valentina connection id to revdb connection id revdberr,invalid database type with the follow script put 20 * 1024 * 1024 into theCacheSize put empty into theMacSerialNumber put fld serial into theWinSerialNumber put into theEncryptionKey get Valentina_Init(theCacheSize, theMacSerialNumber, theWinSerialNumber) put VDatabase_Constructor(kDisk) into theConnectionID get VDatabase_UseEncryptionKey(theConnectionID, theEncryptionKey, kStructureAndRecords) get VDatabase_Open(theConnectionID, dbPath) ## SOME BASIC ERROR CHECKING IF VDatabase_ErrNumber(theConnectionID) is not 0 THEN IF VDatabase_ErrNumber(theConnectionID) 0 THEN put OS error ( VDatabase_ErrNumber(theConnectionID) ) into theError ELSE put VDatabase_ErrString(theConnectionID) into theError END IF answer Error connecting to valentina: theError exit to top END IF ## NOW WE CONVERT THE VALENTINA CONNECTION ID TO A REVDB CONNECTION ID ## SO THAT WE CAN USE THE REVDB FUNCTIONS put revOpenDatabase(Valentina2,,theConnectionID,,) into dbID this is where I get the error put dbID into fld dbID any ideas as to why? ___ Valentina mailing list [EMAIL PROTECTED] http://lists.macserve.net/mailman/listinfo/valentina ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: connecting to 3.2 valventina database with rev
Well I spent the whole day trying to figure out why data was not being saved in the valentine database with a standalone I guess you have to make sure you do the following when you close the app or data is not saved, this works with valentina 2.5.6 now I will try and change all to 3.2 and see if it works ON DoCloseval get VDatabase_Close(theConnectionID) END DoCloseval ON VCloseCard get Valentina_ShutDown END VCloseCard ON rclosecard revCloseDatabase dbID END rclosecard ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: connecting to 3.2 valventina database with rev
On 30/8/07 6:54 AM, Robert Mann [EMAIL PROTECTED] wrote: Hi Robert, Well I spent the whole day trying to figure out why data was not being saved in the valentine database with a standalone You have not answer it seems on my question. Did you install VComponents folder into compiled standalone using script ? Note, that if your project is not huge, you can send us project or even compiled app WITHOUT installed VComponents folder, and we can try debug it here to see where is mistake. I guess you have to make sure you do the following when you close the app or data is not saved, this works with valentina 2.5.6 now I will try and change all to 3.2 and see if it works ON DoCloseval get VDatabase_Close(theConnectionID) END DoCloseval ON VCloseCard get Valentina_ShutDown END VCloseCard ON rclosecard revCloseDatabase dbID END rclosecard -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution