我想在我的 VC++ 项目中使用托管代码, 这是我的代码
ref class MySQSClass
{
public:
System::String ^QueryURL ;
MySQSClass();
~MySQSClass();
};
MySQSClass :: MySQSClass()
{
QueueURL = "https://sqs.us-east-1.amazonaws.com/036469908951/TestDBQueue";
}
但它给了我这样的错误
错误 C2065:“QueueURL”:未声明的标识符