dict.cc dictionary

DictIndex.readObj Method 

Reads an object from the given file

[Visual Basic]
Private Sub readObj()
private void readObj();


The opposite of DictImport.saveIdx. Reads the index located in the first part of the index file into the internal map m_index and estimates the position of the begin of the DictEntryRef array in m_arraybegin. The progress of the reading process is populated using IProgress.progress() of the progress handler m_progresshandler. After the method is ready, it calls IProgress.ready(), either with null as argument, if everything went OK or with the exception string, if errors occured. The path for the dictionary file located in the index file may be evtl. icorrect, if the dictionary file can't be found, then the method tries to find it in the dicrectory of the index file or in the directory of the executing assembly.

The first item of the index file is an Int32 number describing the type of the dictionary, eg. if it is a dict.cc or a UDDL dictionary. For compatybility purposes with the older versions this number may be omited in the index file, in such a case the method assumes DictType.DICTCC as the dictionary file type.

See Also

DictIndex Class | dict Namespace | DictImport.saveIdx