선언되지않은 식별자와 문자열 에러에 관해 질문드립니다.
시크포텐
자꾸 에러가 발생해서.. 선언을 해줘야 하는 것 같은데 RefpropdllInstance을 어떻게 해줘야 하는지 모르겠습니다...그리고 문자열 에러가 발생하는데 무슨 문제인지도 모르겠네요 좀 가르쳐 주시면 감사하겠습니다.에러메시지는 사진파일로 첨부했습니다.1.#include windows.h
#include stdio.h
#include REFPROP1.hconst long refpropcharlength=255;
const long filepathlength=255;
const long lengthofreference=3;
const long errormessagelength=255;
const long ncmax=20;// Note: ncmax is the max number of components
const long numparams=72;
const long maxcoefs=50;int main(int argc, char* argv[])
{
ABFL1dll = (fp_ABFL1dllTYPE) GetProcAddress(RefpropdllInstance,ABFL1dll);
ABFL2dll = (fp_ABFL2dllTYPE) GetProcAddress(RefpropdllInstance,ABFL2dll);2. 문자열 에러
char *C:\\Program Files\\REFPROP\\fluids\\;
strcpy(hf,C:\\Program Files\\REFPROP\\fluids\\);
strcpy(hfmix,C:\\Program Files\\REFPROP\\fluids\\); strcpy(hf,ammonia.fld);
strcpy(hfmix,hmx.bnc);
strcpy(hrf,DEF);
strcpy(herr,Ok);
-
수국
죄송해요 질문 취소합니다 ㅎ; 설정을 까먹었네요
RefpropdllInstance = LoadLibrary(\./refprop.dll\);