BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help with error "Unknown interface".

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX)
View previous topic :: View next topic  
Author Message
Steve Westwood
Guest





PostPosted: Thu Aug 19, 2004 7:39 pm    Post subject: Help with error "Unknown interface". Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.