HI All,
I am trying to call a c++ dll from a c# application. But i get BadImageFormatException.
The example i tried is one from this website
www.adp-gmbh.ch/win/misc/mingw/dll.html

Also i tried to create a simple dll in c++ , adding two integers and calling that in the c# ...no good - same error message..
This is my second day of learning c#, so not sure where to go from.
Any clue?

Thanks
Rach