|
빌더6에서 e2247 에러가 발생하였는데 원인을 찾을수 없습니다.. 도와주세요.
//****** file : DTAcq32Lib_OCX.h 의 일부..********
public:
virtual __fastcall TDTAcq32Proxy(TComponent* AOwner) : TOleControl(AOwner)
{};
virtual __fastcall TDTAcq32Proxy(HWND Parent) : TOleControl(Parent)
{};
// OCX methods
//
void __fastcall AboutBox(void);
void __fastcall PowerOff(void);
void __fastcall PowerOn(void);
double __fastcall GetSSCapsEx(short OlSSc);
.
.
.
// OCX properties
//
<--------- 이부분을 엑세스 할수 없다고 나옴..------------->
__property short QueueSize[short uiQueue]={ read=get_QueueSize };
__property BSTR BoardList[short index]={ read=get_BoardList };
__property BSTR SubSystemList[short index]={ read=get_SubSystemList };
__property long DIOList[short index]={ read=get_DIOList };
__property TOLEBOOL InhibitList[short index]={ read=get_InhibitList };
__property double FilterValues[short index]={ read=get_FilterValues };
__property double GainValues[short index]={ read=get_GainValues };
__property double MaxRangeValues[short index]={ read=get_MaxRangeValues };
__property double MinRangeValues[short index]={ read=get_MinRangeValues };
__property short ResolutionValues[short index]={ read=get_ResolutionValues };
__property double FilterList[short index]={ read=get_FilterList };
__property double GainList[short index]={ read=get_GainList };
__property short ChannelList[short index]={ read=get_ChannelList };
__property _DDTAcq32Disp ControlInterface={ read=GetDefaultInterface };
//******** file : main.cpp파일에서 에러가 난부분 *********
for (short i=0;i<Neuro32->DTAcq->ListSize;i++) {
Neuro32->DTAcq->ChannelList[i] = constChList[i];
Neuro32->DTAcq->GainList[i] = 1;
Neuro32->DTAcq->InhibitList[i] = False;
}
//*********에러 메시지**********
E2247 'TDTAcq32Proxy::ChannelLIst' is not accessible
빌더 3과 bds에서는 이부분에서 에러가 나지 않습니다.. 근데 6.0에서만 에러가 나는데.. 원인을 알수 없네요.. 혹시 아시는분 꼭 알려주세요
|