Listing 8-7 extracted from chapter Interoperability between .NET and native code/COM/ COM+
Listing 8-6< > Listing 8-8
// compile with: /clr #include "stdafx.h" #include "windows.h" int main(){ bool b = Beep(100, 100); }