Why does a multilanguage solution not work?
- by Lukas
My solution has a
C# application project
C# User Controls project
C++ Mathematics project
One of the UserControls uses function from the Mathematics (C++ project). This UserControl is used in the application.
Building and starting the application works just fine. When typing the IntelliSense suggests all the contained classes and methods. The UserControl appears correctly, but on clicking a button which calls the C++ function I get a BadImageFormatException (it pops out on the end of the automatically created Main function).
The help suggests to use /fixed:no for linking, but that is already set up.