A
Andrew Jarvis
I have created from scratch...
a C++/CLR class library, CPlusPlusDLL, and added a single class Test with
nothing but a constructor and
a C# Windows Forms Application, CSharpApp, that creates an instance of Test
in the constructor of Form1.
When I run the app I get the message:
An unhandled exception of type 'System.BadImageFormatException' occurred in
CSharpApp.exe
Additional information: Could not load file or assembly 'CPlusPlusDLL,
Version=1.0.3274.27857, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. An attempt was made to load a program with an incorrect
format.
___________________
I expected this to 'just work' and I don't know where to go from here.
Any ideas please?
a C++/CLR class library, CPlusPlusDLL, and added a single class Test with
nothing but a constructor and
a C# Windows Forms Application, CSharpApp, that creates an instance of Test
in the constructor of Form1.
When I run the app I get the message:
An unhandled exception of type 'System.BadImageFormatException' occurred in
CSharpApp.exe
Additional information: Could not load file or assembly 'CPlusPlusDLL,
Version=1.0.3274.27857, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. An attempt was made to load a program with an incorrect
format.
___________________
I expected this to 'just work' and I don't know where to go from here.
Any ideas please?