Change the Upper Limit of User Dictionary Registrations
Change the upper limit of the number of records that can be registered in the user dictionary from initialization to deletion. It must be called before mloaddict.
void msetmaxregist(unsigned short amax);
Input:
unsigned short amax; The new upper limit
Example
#include "ocrdef.h"
#include "ocrco.h"
#include "cjocrstock.h"
#include "cjocrdict98.h"
#include "errcode.h"
...
....
CJocrDict* pjocrdict = new CJocrDict;
pjocrdict->msetsystemdict("c:\\dic\\feature\\system");
pjocrdict->msetsystemdict("c:\\dic\\feature\\systemfat");
pjocrdict->msetuserdict("c:\\dic\\feature\\user");
msetmaxregist(4096);
int ret = pjocrdict->mloaddict();
//
// After this, registration is possible up to 4096 records
//
delete pjocrdict;