I have an application (CLI) that references a mixed-DLL. The DLL implements a "ref" class with static functions.
Here is the (partial) code for the ref-class
public ref class AAA
{
public:
static bool Write(System::String^ sz);
// Not accessible!!!
public: static BOOL TraceRect(const CRect& rc);
};
Within the EXE, in C++ code, I'm trying to call both functions:
// This works
AAA::Write("hello");
// This doesn't !!!
CRect rc(0, 0, 12, 234);
AAA::TraceRect(rc);
How can I access the second function?