mod_aspdotnet使用C++编译C2691错误
请教各位大虾一个C++.Net的问题,我现在在做一个将ASP.net的Web项目加载到Apache里面运行,安装了Apache官网的mod_aspdotnet却无法工作,应为缺少一些运行组件(这个官网的版本是用vc.net2002(7.0)编译出来的)。现在我使用它的源代码,想放到VS2008里面编译,处理了几个小问题后,发现有个地方编译不过去,想请教一下。
源代码如下
[System::CLSCompliantAttribute(false)]
virtual String __gc* GetUnknownRequestHeaders(void) __gc[] __gc[]
{
#ifdef _DEBUG
LogRequestError(L"GetUnknownRequestHeaders: returns all", APLOG_DEBUG, 0);
#endif
return unk_req_hdr_arr->Value();
}
编译的时候,报错
error C2691: 'System::String __gc * __gc[]' : a managed array cannot have this element type
不确定这块应该如何解决,求解