Re: idl questions
- From: "MP" <NoSpam@xxxxxxxxxx>
- Date: Tue, 29 Apr 2008 20:06:48 -0500
ok, now I've gone and done it <g>
rewrote my idl
created new guids
changed version number but left interface name the same (maybe a mistake?)
recompiled
un-referenced existing tlb
saved vbg
un-registered existing tlb
registered new tlb
re-referenced new tlb
now I get type mismatch on setting the object to the interface
'------------------------
in cProjectSpecConcrete:
Implements IProjectSpec
'------------------------
'in class using project spec
'for interface properties
Private moIProjectSpec as IProjectSpec
'for concrete properties
Private moCProjectSpec as cProjectSpecConcrete
'------------------------
'in creation routine
Set moIProjectSpec = New cProjectSpecConcrete '<----------- now i get type
mismatch here
Set moCProjectSpec = moIProjectSpec
'------------------------
so even though I un-referenced the interface, unregistered the tlb,
recompiled, reregistered, re-referenced, the vbp must be looking at the old
guid????
all the new properties/methods showed up in the ide so I thought all was
well, but i guess not???
or do you have to change the name any time you change the interface(with a
version number or something?)
thanks
mark
"MP" <NoSpam@xxxxxxxxxx> wrote in message
news:ubLPC6kqIHA.2256@xxxxxxxxxxxxxxxxxxxxxxx
Hi
I've been using a tlb created from idl and want to add some stuff to it.
Original help obtained here from Ralph, etal .... thanks again.
.
- Follow-Ups:
- Re: idl questions
- From: Ralph
- Re: idl questions
- References:
- idl questions
- From: MP
- idl questions
- Prev by Date: Re: Database Stuff
- Next by Date: Re: splash screen not staying on
- Previous by thread: Re: idl questions
- Next by thread: Re: idl questions
- Index(es):
Relevant Pages
|
Loading