Inline processor assembly language in C++/CLI
Managed C++/CLI
2
Posts
2
Posters
0
Views
1
Watching
-
If you want to mix the asm into C++/CLI code you'd either need to use #pragma unmanaged or put the inline asm in a function within a separate file compiled without /clr. A .cpp file built with /clr which includes inline assembly will get an error like this: 1> ..\myfile.cpp(205): error C2711: 'CMyApp::Test' : this functon cannot be compiled as managed, consider using #pragma unmanaged 1> Inline native assembly not supported in managed code John