BricsCAD V20, using COM and late binding.

Hi, I'm porting some code from a software targeting AutoCAD (VBA)

Using the "InitializeUserInput" function in AutoCAD with parameter 32 generates a ghost line while selecting second point. In BricsCAD that doesn't work at all, using parameter value 64 seems to work ?
Function "SelectByPolygon" using parameter value 2 generates: Exception from HRESULT: 0x80070057 (E_INVALIDARG)? In fact I can't get it to work with any parameter.

Any clue