ptr should be 0x81004 and the its type should be far pointer.
We have a patch available for this issue now. The S166.dll version 3.133.0 and later solves this issue. This will also be solved in any PK166 releases later than 7.57. If you need this patch, raise a support case and refer to this forum entry.