Thank you in advance for any help,
Eric Olsson
Sent via Deja.com
http://www.deja.com/
When I run RegTlib /? I get the following output:
Usage: regtlib [-q][-h] -o <odl file> | <typelib, olb, exe, or dll
filename(s)>
where: -q indicates to produce no messages
-o read an ODL file and use importlib() statements for
typelibs to register
-h<path> Directory for help file of typelib
There is no mention of a -u switch. When I try running RegTlib with a -
u switch, I get the output I copied above. Is there a newer version of
RegTlib which I could get? I have the October 2000 Platform SDK. My
copy of RegTlib.exe is located in C:\Winnt and has a file date of 5-31-
1999 11:00p and is 30,720 bytes.
Thanks in advance for your help, and sorry for the e-mail - I hit reply
instead of follow up...
Eric
1. Type Libraries are registered as to their location, not as to their
content. So, if you change your type library, so long as you haven't changed
its GUID and it stays in the same place (ie. directory location and
filename) there is no need to unregister it and register it again. (The same
also goes for the components themselves).
2. Type Libraries are recorded in the registry under
CLASSES_ROOT\TypeLib\<guid>. You could manually delete it by finding the
GUID of your Type Library here and then deleting it.
BTW, my RegTLib has a -u option to unregister. Get an updated copy (but I
don't know where from)..
Kevin Frey.
"Eric Olsson" <olsso...@hotmail.com> wrote in message
news:MPG.14ece4c15...@msnews.microsoft.com...
Thank you for your reply. I was confused about the registry entries for each
interface defined in the typelib. I thought if I changed the method signatures
in the interface that it would break the association in the registry. I looked
in the Interface and Typelib keys of HKCR and saw what you were saying.
Thank you for setting me straight.
Best regards,
Eric
"촘령" <Meng...@163.com> wrote in message
news:96vgrj$2kp$1...@mail.cn99.com...
> RegSvr32 -u filename
>
>