I recently updated an older sample in our source code library. It used no longer supported direct DLL messages.
These messages have been replaced by properties in order to offer an easy to use interface.
In this particular sample, now the GetCharFromLine property is used.
Please have a look at the updated sample at: