[DUG] Type Library woes

Phil Middlemiss phil at tumonz.co.nz
Mon May 29 16:40:09 NZST 2006


I've suddenly started getting a translation error when I try and save 
the type library for my automation object. I haven't changed anything in 
the type library editor, but have been working on the automation object.

The warning I get when I try and save is "The type library T3SDK had 
translation errors or warnings. Some information may be lost or 
modified. Do you want to save with these modifications?"

I googled the error and the only english page with any reference to it 
mentioned valid types so I double checked the types the library is using 
and they are all automation compatible.

There is a hint in the Type Library Editor Status Bar saying "Hint: 
Typeinfo T3SDK changed to T3SDK_".

I have to change the TAutoObjectFactory.Create method to use T3SDK_ 
instead of T3SDK in order to compile, but then when I try and run the 
host app, I get an EOleError exception:
"Type information missing for class TT3SDK".

Any ideas?

Phil.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phil.vcf
Type: text/x-vcard
Size: 250 bytes
Desc: not available
Url : http://ns3.123.co.nz/pipermail/delphi/attachments/20060529/c923fc82/phil.vcf


More information about the Delphi mailing list