deepakmitbhu@yahoo.co.in Guest
|
Posted: Thu Jun 24, 2004 8:16 am Post subject: Error Linking Object ..in Borland C++ Builder 6 |
|
|
I'm getting the following link Time error.
[Linker Error] Unresolved external 'Tsf_Report::' referenced from
D:ApplOBJSMAINFRAME.OBJ
[Linker Error] Unresolved external '__fastcall
Tsf_Report::Tsf_Report(Classes::TComponent *)' referenced from
D:ApplOBJSMAINFRAME.OBJ
The Tsf_Report form is successfully compiled and it's corresponding
object is present in the OBJS Folder.
I Think the problem may be because of #Pragma package(smart_init)
But I'm not able to resolve it.
The code for calling Tsf_Report is
void __fastcall TMainForm::ReportScreen1Click(TObject *Sender)
{
/*Tsf_Report *theForm;
theForm = new Tsf_Report(this);
theForm->ShowModal();
delete theForm;
theForm = 0;*/
}
Please throw some light on this and use of #Pragma package(smart_init)
Thanks and Regards,
Deepak
|
|