XApp cannot be instanciated in another app's thread
Brought to you by:
pive
When trying to create a XApp into another app (with
message loop running), typically MFC, in a separate
thread, the XApp will freeze upon GetMessage().
This is obviously because XApp is created as stand
alone window (no parent).
It should be possible to add a parent window handle to
XApp's init().