Anderson, Kelly schrieb:
> Sorry if this is a dumb question, but can you use Fitnesse for C++
In a recent project we are using Fitnesse.Net for testing C++ applications.
You have basically two options to get at your code from .NET in VS 2005:
1) Make any C++ function or class you want to test publicly available in
a DLL and use .NET's [DLLImport] attribute in your fixture code. This
works but we had some difficulty converting/marshalling types and
2) Switch your C++ compiler option to enable CLR, build a thin wrapper
of managed C++ around your legacy C++ classes and just call your managed
C++ code from C#/VB.NET. Theoretically, you can even mix the managed
wrapper code and the unmanaged code in the same DLL. I would not
recommend that, though, due to problems with DLLMain and MFC restrictions.
All this works for Microsoft apps only, I'm afraid.