A CVI project compiled in VC will use the VC version of the ANSI standard I/O libraries, not the CVI ones. I don't think this can be changed. Therefore, if you use functions like printf() and scanf() that implicitly or explicitly use the 'stdin', 'stdout' or 'stderr' file handles, the VC project must be configured as a Win32 console application.
At the very least, you must make the preprocessor definition change that Mert A suggested, and you must add or modify the link /subsystem option to read /subsystem:console.
Martin.
--
Martin
Certified CVI Developer