While implementing MSSCCI interfaces (scc.h) when HWND received in scc callbacks is passed to SCC provider written in JAVA/SWT to create additional/provider specific dialogs, Visual Studio hangs after a SWT shell creation is attempted using win32_new(SWT Windows OS specific) by passing the native HANDLE. The purpose or idea is to embed the shell and dialogs drawn using this shell into Visual Studio to achieve a modal effect.
Other MSSCCI IDEs works fine with this scc implementation and no hang is observed for them. Is there a workaround to this problem, if not, can an alternate approach be taken to achieve modality of SWT dialogs over Visual Studio IDE?