i can't use types from another tlb using importlib 
Author Message
 i can't use types from another tlb using importlib

hi all.
may be somebody can explain me where my error. I can't use types defined in
another library using import lib. for more detail see attach, his contain
two file TLB.idl where I defined same types and TLBs.idl where I try use
that types.

Thanks for help.

begin 666 TLB.idl



M<G-H86QL:6YG(&-O9&4N#0H-"FEM<&]R=" B;V%I9&PN:61L(CL-"FEM<&]R

M+'1W;PT*?654>7!E.PT*#0IT>7!E9&5F('-T<G5C="!T9'-3=')U8W0-"GL-




`
end

begin 666 TLBs.idl



M(&UA<G-H86QL:6YG(&-O9&4N#0H-"FEM<&]R=" B;V%I9&PN:61L(CL-"FEM






M"0ED=6%L+ T*"0EN;VYE>'1E;G-I8FQE+ T*"0EH96QP<W1R:6YG*"))5$Q"




M-48V.#8Q.$0W.#<I+ T*"0EH96QP<W1R:6YG*")43$)S3V)J96-T($-L87-S

A:6YT97)F86-E($E43$)S3V)J96-T.PT*"7T[#0I].PT*
`
end



Sun, 18 Jul 2004 19:00:46 GMT  
 i can't use types from another tlb using importlib
Types defined outside library block and never mentioned inside the
library block do not make it into the resulting TLB. Just open your TLB
with OLE/COM Viewer, and you'll see that the types are not there.
--
With best wishes,
    Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken


Quote:
> hi all.
> may be somebody can explain me where my error. I can't use types
defined in
> another library using import lib. for more detail see attach, his
contain
> two file TLB.idl where I defined same types and TLBs.idl where I try
use
> that types.

> Thanks for help.



Mon, 19 Jul 2004 02:31:02 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Using types in a different assembly given that the type may be used or not used

2. importlib "stdole32.tlb":???

3. Beginner [Q] Using Canned File Open/Save dialog

4. HELP Using Enums through importlib???

5. MIDL namespace problems using importlib

6. Using importlib in an IDL file?

7. Development environment hanging when using #import directive with type-lib id'si

8. Can't used return Type

9. pointer of type `void *' used in arithmetic

10. defining function whose type same as its arguments and used as another's argument

11. how to convert helpstring to tlb: using .net componet from COM programs

12. using incomplete structure types as opaque types

 

 
Powered by phpBB® Forum Software