Force MIDL to generate TLB with local interfaces
- From: Udo Schneider <Udo.Schneider@xxxxxxxxxxxxxx>
- Date: Fri, 06 Jul 2007 23:24:46 +0200
Hi,
I'm using MIDL to generate TypeLibraries containing some AX interfaces. After spending several day trying to find out why stuff doesn't work I finally found out, that the type library contained the remote interface definitions (e.g. IViewObject::RemoteDraw() vs. IViewObject::Draw()).
I used the following IDL file:
[
uuid(E6951A62-58D0-4500-B15F-F419E00EBD91), // Any valid GUID
helpstring("OLE Type Library"),
version(1.0)
]
library USOLETLB // This will be the package name
{
importlib("stdole.tlb");
import "ocidl.idl";
import "ObjIdl.idl";
interface IViewObject;
interface IViewObjectEx;
}
Is there any way to force MIDL to create a TLB containing the local interface definitions?
Thanks,
Udo
.
- Follow-Ups:
- Re: Force MIDL to generate TLB with local interfaces
- From: Igor Tandetnik
- Re: Force MIDL to generate TLB with local interfaces
- Prev by Date: Re: ActiveX Control: Preview at Design Time
- Next by Date: Re: Force MIDL to generate TLB with local interfaces
- Previous by thread: Re: ActiveX Control: Preview at Design Time
- Next by thread: Re: Force MIDL to generate TLB with local interfaces
- Index(es):
Relevant Pages
|