NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Fatal Error C1192

#using failed on 'file'

Only a file in the Microsoft Intermediate Language (MSIL) format can be passed to a #using directive. The /com+ compiler option lets you create an MSIL output file. Other Visual Studio languages also produce MSIL files.

The following sample generates C1192:

#using <mscorlib.dll>
#using "stdio.h"   // C1192
// The following line resolves the error.
// #include <stdio.h>

void main() {
}