|
죄송합니다 오랜만에 빌더 코딩하려니;;;
다음과 같이 수정해 주세요~~
extern "C" __declspec(dllexport) void __stdcall testfunc( TComponent *pParent )
{
Form2=new TForm2(pParent );
Form2->Show();
}
TObject 가 아니라 TComponent 로 해주면 될껍니다 ^^
라이손레종ㅎ 님이 쓰신 글 :
: 전재득님.. 잘 몰라서 코딩을 따라서 입력 했습니다.
: extern "C" __declspec(dllexport) void __stdcall testfunc( TObject *pParent )
: {
: Form2=new TForm2(pParent );
: Form2->Show();
: }
: DLL 을 만들려니 오류가 납니다..
:
: 오류 내용이..
: [C++Error]Unit1.cpp(37):E2285 Could not find a match for 'TForm2(TObject*)'
|