Re: another COM-Question: how to inject a type-lib into a dll?
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Tue, 24 Jan 2006 08:32:26 -0500
"Axel Bock" <axel.bock.news@xxxxxxxxxxxxxx> wrote in message
news:1138086808.123829.151490@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> A major problem was that the IDL file was
> compile-time-generated by the Visual Studio, and I didn't know where
> to tell it that I have done some custom things it should consider.
What do you mean, compile time generated? Are you building an attributed
project by any chance? I stay away as far as possible from those, so I
don't know much about them (beyond the fact that they are more trouble
than they are worth).
> But another problem: A friend of mine asked me these days how he could
> pass an object into a COM method.
Define "object". You can pass a COM interface to a COM method, which
interface is of course implemented by a COM object. In this sense, it
can be said that an object is being passed to the method. Something
tells me this is not what your friend had in mind though.
--
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
.
- Follow-Ups:
- Re: another COM-Question: how to inject a type-lib into a dll?
- From: Axel Bock
- Re: another COM-Question: how to inject a type-lib into a dll?
- References:
- another COM-Question: how to inject a type-lib into a dll?
- From: Axel Bock
- Re: another COM-Question: how to inject a type-lib into a dll?
- From: Igor Tandetnik
- Re: another COM-Question: how to inject a type-lib into a dll?
- From: Axel Bock
- Re: another COM-Question: how to inject a type-lib into a dll?
- From: Igor Tandetnik
- Re: another COM-Question: how to inject a type-lib into a dll?
- From: Axel Bock
- Re: another COM-Question: how to inject a type-lib into a dll?
- From: Igor Tandetnik
- Re: another COM-Question: how to inject a type-lib into a dll?
- From: Axel Bock
- another COM-Question: how to inject a type-lib into a dll?
- Prev by Date: Re: How to pass arguments to a CreateThread(...)
- Next by Date: beginner Q's about COM/.NET (context = exposing a pre-existing app to scripting)
- Previous by thread: Re: another COM-Question: how to inject a type-lib into a dll?
- Next by thread: Re: another COM-Question: how to inject a type-lib into a dll?
- Index(es):
Relevant Pages
|