Hello
I have problem mixing managed and unmanaged C++ code in VS.NET 2003. I want to create a windows forms application which uses some C++ code that is incompatible with managed extensions (__fastcall etc.). I have tried disabling "compile as managed" option for these specific files, but it does not help: by trial and error I figured out that if there are any "references" in the project, IDE adds /FU switch with each of these references to compilation command line of _every_ source file in the project (even if managed extensions are disabled for it). /FU switch is 'force #using'. This causes my incompatible source files to fail compilation - because unmanaged code will not compile with /FU switch
Deleting the references from project solves the problem (i.e. /FU are no longer added to command line), but once I do that I can no longer edit my forms in the designer..
I'm stuck. Please help
Best regards
Marcin