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 

Hosting the CLR

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





PostPosted: Mon Dec 06, 2004 7:11 pm    Post subject: Hosting the CLR Reply with quote



I want to add the capable of hosting the CLR in my application. To do so, I
need to import the Type Library for mscorlib.tlb. When I try to do this, I
get an error saying "A class named 'TTimer' already exists." "So what?", I
say. I know Borland has a class named TTimer, so why does the Import Type
Library care about that and how can I fix this problem.

repro steps:
open "Import Type Library"
click "Add"
locate "mscorlib.tlb" then click OK
uncheck "Generate Component Wrapper"
click "Install"


Back to top
Mike King
Guest





PostPosted: Mon Jan 10, 2005 7:18 pm    Post subject: Re: Hosting the CLR Reply with quote



Sorry, it would have worked if I chose the correct file (mscoree.tlb).

"Mike King" <emailMK (AT) excite (DOT) com> wrote

Quote:
I want to add the capable of hosting the CLR in my application. To do so,
I
need to import the Type Library for mscorlib.tlb. When I try to do this,
I
get an error saying "A class named 'TTimer' already exists." "So what?",
I
say. I know Borland has a class named TTimer, so why does the Import Type
Library care about that and how can I fix this problem.

repro steps:
open "Import Type Library"
click "Add"
locate "mscorlib.tlb" then click OK
uncheck "Generate Component Wrapper"
click "Install"





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.