Jig more than one entity with AcEdJig class in ObjectARX

Hello,
I have problem creating a working jig with two lines.
I searched web for some solutions and I tried to follow (among others) http://adndevblog.typepad.com/autocad/2013/01/jig-more-than-one-entity-with-acedjig-class-in-objectarx.html somehow.
Unfortunately, I'm not able to make it work (although my code is compiled & linked successfully, I'm getting "Invalid Index" in run-time).
Would anyone provide a MWE which would jig with e.g. two lines (e.g. keeping their start points unchanged and modifying their end points)?
Best regards,
Lukas

This discussion has been closed.