One application instance and two context any restriction?


I have a app that show a main viewport with interop directx->optix, all works fine. But when I try open a new child window with new optix context and new contents (same as main contents but new instances) on the Launch invocation I receive the Unknow exception -1.

The optix has any restriction about that?

I use Optix 3.7.


I try open only the child window and works fine. If I create a main context the other context (child) does not work. What I have to do? Destroy main context before create a new (child)? and destroy child and recreate a main context when return?

Anybody have the same problem?

The problem occurs when the launch of main context are invoked, if I dont do that the child launch works great.