Re: How to call DLL with classes?
- Posted by mattlewis (admin) Sep 19, 2013
- 1377 views
TheresNoTime said...
It is not working yet. :( I have got error messages about names: OCR, OCRInit and OCRTerm. I uncomment in ocrsdk.h this line (may be, it is not enough).
It looks like you're using MSVC. I'm guessing that you're getting linking errors. Are you sure you're linking with the target dll?
You'll also probably have to put the initialization inside a function. To make it euphoria friendly, you'll need to put it in extern "C" brackets. Also...how do you tell it what to scan (i.e., src looks like it's always a blank whatever)? Maybe you just haven't gotten there yet.
Matt