0
현재, 나는 내 다른 CPP 파일 내부에이 기능이 있습니다오류 C2065 : 선언되지 않은 식별자
UINT32 functionHtml(const wchar_t *url)
{
WinHttpClient client(url);
client.SendHttpRequest();
wstring httpResponseHeader = client.GetHttpResponseHeader();
wstring httpResponse = client.GetHttpResponse();
writeToLog(httpResponse.c_str());
return 0;
}
내가 다른 CPP 파일이를, 나는 위의 파일 내부의 물건을 실행하고 싶습니다. 'URL': 선언되지 않은 식별자 I 오류 C2065있어
HRESULT CButtonDemoBHO::onDocumentComplete(IDispatch *pDisp, VARIANT *vUrl){
ATLTRACE("CButtonDemoBHO::onDocumentComplete %S\n", vUrl->bstrVal);
// <---- i would like to call funtionHTML here or ..
if (isMainFrame(pDisp)){
m_normalPageLoad=false;
// <---- here..
MessageBox(m_hWnd, L"Main Document has completed loading", L"Document Complete", MB_OK);
return S_OK;
}
return S_OK;
}
: 여기에 다른 파일에 대한 코드입니다. 도움이 필요합니다.