开发者

In which DLL is the COM interface iStream defined?

I'm a complete newbie to Windows and COM programming, trying to use com4j in order to call a COM object from Java.

Com4j generates Java interfaces from COM definitions "often found in .ocx, .dll, .exe, and/or .tlb files" . It was easy for me to locate the .ocx file of my target COM object, but I have no clue regarding the standard interface iStream.

Microsoft's documentation mentions OLE32.DLL ( c:\Windows\Windows32\Ole32.dll ?) , but neither the com4j generator nor oleviewer succeed in opening this file.

A开发者_StackOverflow中文版ny hints?


It looks like it is defined in comsvcs.dll .


The documentation you linked to references Objidl.idl. com4j might be able to process IDL files.

Alternatively you could try compiling the IDL into a TLB using MIDL: http://msdn.microsoft.com/en-us/library/aa367372(VS.85).aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜