Valentina Kernel FAQ
General
Installation
Q: I have installed V4RB/V4MD/VNET/VCOM/... on my Windows, but Valentina DLLs are not recognised. What is the problem?
The installer of a Valentina product on Windows creates the folder
\Program Files\Paradigma Software\VComponents_win_vc
it also adds the path to this folder to the environment variable PATH. To see this variable you can:
open the Properties of “My Computer”
select the tab panel “Advanced”
click the button “Environment Variables”
at the bottom of the new window you can see a list of “System Variables”. In this list you can locate the PATH variable.
We had this issue few times, the affected developers have COPIED the path to VComponents folder into the PATH string, and after this Windows could find the Valentina DLLs.
64 Bit
Q: Do I have to use different Valentina database files for 32 or 64 bit?
Valentina database files are the same for 32-bit and 64-bit modes.
Of course executables are different, like for any other application or library. Although MAC OS X allows to pack few branches of code into single file, we tend to provide different archives for 32 and 64 bit executables and ADKs.
Initialization
Database Questions
Segment Size
Table Questions
Q: Is DropTable() faster than DeleteAllRecords()?
DropTable is expected to be faster, because when you delete record by record, engine checks constraints and links in order to delete linked records. DropTable() simply deletes the table, and tries to do fast operation to cleanup links if any.
Field Questions
RecID Field
ObjectPtr Field
BLOB Field
Q: fld.SetBlank() vs fld.put_IsNULL() vs blob.DeleteData()?
Talking about fld.SetBlaink() notice that exists more often used tbl.SetBlank() method, which you can use in API-way code to prepare Record Buffer before assign new values for new record. fld.SetBlank() assigns value of field to DEFAULT value if it exists, otherwise to NULL if field is nullable, otherwise to something “empty”: zero for numbers, empty string for strings.
fld.put_IsNull() assignes field value to NULL if field is nullable, otherwise to empty value.
blob.DeleteData() removes all segments of a BLOB value. Effectively such BLOB value is same as NULL value.
Index Questions
Index By Words
Hash Index