I'm getting exactly the same error message.
The load image line was copied from the tutorial.
I first copied it to Notepad, to insure there weren't any strange or invisible .pdf characters.
I've double checked it against the format for dbLoadImage.
I also hand entered it.
It looks like it is not recognizing "dbLoadImage" as a valid command. (I also tried moving the include files into the project.)
_________________
Rather than duplicate the post here, please take a look at my post in "Installation and Wizards." It's currently the last post on page 3. That may give a clue as to the problem.
I don't believe the problem is a source code typo...
Willy