jjzjj

oldSyntax

全部标签

c# - C++ CLI gcnew 未声明的标识符

String*response_Page="";std::stringhttp_Response;//WinHttpRequest//http_Responseappend(pszOutBuffer);response_Page=gcnewSystem::String(respstring);我正在尝试创建一个在C#中使用的托管C++/CLIdll,这是C++的新手,它真的很复杂,仅通过搜索无法获得太多信息。更新:我正在使用公共(public)语言运行时支持,旧语法(/clr:oldSyntax)获取错误:errorC2065:'gcnew':undeclaredidentifier