Re: how to import two .tlb uses same interface?



"Daniels He" <heinsect@xxxxxxxx> wrote in message
news:%23HUMIfSqFHA.2724@xxxxxxxxxxxxxxxxxxxx
> I just answer a question, it bring another question. ^-^

Unless you specify no_namespace flag on #import directive, the two
interfaces will be in different namespaces. Then you will just have to
refer to them by their fully qualified names.

Alternatively, you can use rename() attribute to rename individual
conflicting symbols.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: CreateFile() and FILE_FLAG_WRITE_THROUGH
    ... BUT this will not work UNLESS you specify the ... FILE_FLAG_NO_BUFFERING flag, ... I have now proved to myself that file metadata is not written ... disk structure to be consistent, this incurs a cost and that's why the ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Letting a user select a color for a control
    ... CC_FULLOPEN flag instead of the CC_SOLIDCOLOR flag in order to do this. ... is there any way to specify where on the screen the Color Dialog ... > specify an initial color selection. ... >> something before calling aDialogColor. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Thread safety tips
    ... > way that they can specify thread safety. ... So how can non-abstract classes (regarding interfaces just as purely ... what you mean by "an interface cannot ensure thread-safety" - opposed to ... You are taking my statement out of context. ...
    (comp.lang.java.gui)
  • RE: *at family of syscalls in FreeBSD
    ... EBADF if the path isn't an absolute path AND the fd is invalid, ... I doubt the interfaces will change, ... that will most likely be incompatible with POSIX. ... and an AT_REMOVEDIRAT flag for directories. ...
    (freebsd-arch)
  • Re: ATL and COM+
    ... this, or lets say, I want to specify, Library, or Server, or put the name of my ... >> the Timeout, also how to specify the default construct string, through ... >> attributes, like objectpooling, JIT, ConstructString. ... >> interfaces, but looking for the attributes to configure it. ...
    (microsoft.public.vc.atl)