 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mike King Guest
|
Posted: Mon Dec 06, 2004 7:11 pm Post subject: Hosting the CLR |
|
|
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
|
Posted: Mon Jan 10, 2005 7:18 pm Post subject: Re: Hosting the CLR |
|
|
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 |
|
 |
|
|
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
|
|