Re: another COM-Question: how to inject a type-lib into a dll?
- From: "Axel Bock" <axel.bock.news@xxxxxxxxxxxxxx>
- Date: 23 Jan 2006 07:39:50 -0800
sure I can :)
Basically I created a COM server project, and defined a class with a
method:
STDMETHODIMP
MyClass::MyMethod(myEnumType en, VARIANT_BOOL somethingElse)
{ ... }
When compiling the MIDL compiler said:
error MIDL2011 : unresolved type declaration : ....
That is the error I am referring to. Cause it might be that I will be
porting a project with **many** custom typedef'ed enums I really don't
want to write a MIDL definition for each of them manually.
If you want I can try to create a minimal VC project to test it, but I
haven't yet. (the project I am talking about is a bit of a patchwork, I
tried something and it got big and didn't work, so I abandoned it :)
.
- Follow-Ups:
- 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?
- 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
- another COM-Question: how to inject a type-lib into a dll?
- Prev by Date: Re: How to start a Windows service automatically
- Next by Date: Re: another COM-Question: how to inject a type-lib into a dll?
- 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
|