James50
July 19th, 2007, 06:59 PM
I have one CLR Class Library which defines an ObjectThing
namespace ObjectThing {
public ref class ObjectThing
{
private:
long m_lOrderNo;
public:
ObjectThing();
virtual ~ObjectThing();
virtual property long OrderNo { long get(); void set(long value); }
};
}
and then I have another CLR Class Library which I want to return a list of these ObjectThings.
using namespace System::Collections::Generic;
namespace ObjectFetcher {
public ref class ObjectFetcher
{
public:
static List<ObjectThing^>^ GetObjectThings();
};
}
but ObjectThing is an undeclared identifief in the ObjectFetcher namespace / project.
How do I go about resolving this?
j.
namespace ObjectThing {
public ref class ObjectThing
{
private:
long m_lOrderNo;
public:
ObjectThing();
virtual ~ObjectThing();
virtual property long OrderNo { long get(); void set(long value); }
};
}
and then I have another CLR Class Library which I want to return a list of these ObjectThings.
using namespace System::Collections::Generic;
namespace ObjectFetcher {
public ref class ObjectFetcher
{
public:
static List<ObjectThing^>^ GetObjectThings();
};
}
but ObjectThing is an undeclared identifief in the ObjectFetcher namespace / project.
How do I go about resolving this?
j.