Hi, When I execute my MFC application it runs good. But when I use cmake it goes to command prompt. If I run from command prompt also it gives me this error. when I give exe file I get this message "failed to create empty document". My application just reads a file name using MFC. Sorry to mail about MFC & Cmake here but I am trying to integrate this with itk.Thank you