- CVI 정보나눔(www.cvi.kr)
- 스터디
- 질문답변
질문,답변
글 수 1,629
도움이 많이 되고있읍니다.
그런데 DLL 함수를 이용코저 Driver.h 화일을 선언했는데..
#include "c:ProgramFilesAdvantechAdsapiINCLUDEDRIVER.H"
이 화일 자체에서 Error가 10개씩이나 나는지 모르겠네요..
/**********************************************************
define gain listing
**********************************************************/
typedef struct tagGAINLIST
{
USHORT usGainCde;
FLOAT fMaxGainVal;
FLOAT fMinGainVal;
CHAR szGainStr[16];
} GAINLIST;
/*********************************************************
이부분에서... 아래유형의 에라들이...
Addll_AD.c - 10 errors,2 warnings
"DRIVER.H"(634,3) Invalid struct field declarations.
"DRIVER.H"(634,3) syntax error; found 'identifier' expecting '}'.
"DRIVER.H"(634,21) Warning: Empty declaration.
"DRIVER.H"(635,14) syntax error; found 'identifier' expecting ';'.
"DRIVER.H"(636,14) syntax error; found 'identifier' expecting ';'.
"DRIVER.H"(637,14) syntax error; found 'identifier' expecting ';'.
"DRIVER.H"(638,1) Unrecognized declaration.
"DRIVER.H"(673,5) Invalid struct field declarations.
"DRIVER.H"(673,5) syntax error; found 'identifier' expecting '}'.
"DRIVER.H"(673,28) Warning: Empty declaration.
"DRIVER.H"(674,14) syntax error; found 'identifier' expecting ';'.
"DRIVER.H"(676,14) syntax error; found 'identifier' expecting ';'.
그런데 DLL 함수를 이용코저 Driver.h 화일을 선언했는데..
#include "c:ProgramFilesAdvantechAdsapiINCLUDEDRIVER.H"
이 화일 자체에서 Error가 10개씩이나 나는지 모르겠네요..
/**********************************************************
define gain listing
**********************************************************/
typedef struct tagGAINLIST
{
USHORT usGainCde;
FLOAT fMaxGainVal;
FLOAT fMinGainVal;
CHAR szGainStr[16];
} GAINLIST;
/*********************************************************
이부분에서... 아래유형의 에라들이...
Addll_AD.c - 10 errors,2 warnings
"DRIVER.H"(634,3) Invalid struct field declarations.
"DRIVER.H"(634,3) syntax error; found 'identifier' expecting '}'.
"DRIVER.H"(634,21) Warning: Empty declaration.
"DRIVER.H"(635,14) syntax error; found 'identifier' expecting ';'.
"DRIVER.H"(636,14) syntax error; found 'identifier' expecting ';'.
"DRIVER.H"(637,14) syntax error; found 'identifier' expecting ';'.
"DRIVER.H"(638,1) Unrecognized declaration.
"DRIVER.H"(673,5) Invalid struct field declarations.
"DRIVER.H"(673,5) syntax error; found 'identifier' expecting '}'.
"DRIVER.H"(673,28) Warning: Empty declaration.
"DRIVER.H"(674,14) syntax error; found 'identifier' expecting ';'.
"DRIVER.H"(676,14) syntax error; found 'identifier' expecting ';'.