Hi Chouk
Yes, it could be a resource issue if the system is very lower low on resources, but can you add the following line after your CreateOCR() call:
// Check language files are available
if m_OCR.langLoaded() = False then
raise Exception.create( 'Language is not loaded!' );
Which will catch the most common failing for OCR.
Nigel
Xequte Software
www.imageen.com