 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Steve Westwood Guest
|
Posted: Thu Aug 19, 2004 7:39 pm Post subject: Help with error "Unknown interface". |
|
|
I have a problem with a application I am using
F1Book1->SetColWidth(3,6,3000,4);
I get the error "EoleSysError with Message "Unknown interface".
What is strange is that the code works on a test program but not when I use
the same code in the real program.
The test code is:
F1Book1->Col = 2;
F1Book1->Row = 1;
F1Book1->Text = L"PRODUCT";
F1Book1->Col = 3;
F1Book1->Text = L"CAPACITY";
for(int I = 0; I < 5 ; I++)
{
F1Book1->Col = (4 + I);
F1Book1->Text = L"READING";
}
F1Book1->Row = 2;
for(int I = 0; I < 5 ; I++)
{
F1Book1->Col = (4 + I);
F1Book1->Text = (DateToStr(MyDate + I));
}
F1Book1->Row = 3;
F1Book1->SetColWidth(3,6,3000,4);
F1Book1->Write(L"myfile.xls",2);
What would cause such an error.
Thank you,
Steve
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|