How to stop the console/DOS window from appearing spawning CUDA app from within Windows app

Hello All,

I spawn the CUDA app from within a Windows app and would like to make sure that the console window of the CUDA app does not appear. Any suggestions how to do this? Thanks in advance.