none
Problem: midl\oleaut32.dll : error MIDL2020 : error generating type library : LayOut failed : IVideoWindow

    Question

  • Hello,
    I am facing a big problem while compiling a .idl file for a project with directX

    As you can see, all is ok but the last line is a problem... please help me...


    Processing .\cap.idl
    Processing C:\DXSDK\Include\DShowIDL\devenum.idl
    Processing C:\Include\oaidl.idl
    Processing C:\Include\objidl.idl
    Processing C:\Include\unknwn.idl
    Processing C:\Include\wtypes.idl
    Processing C:\Include\basetsd.h
    Processing C:\Include\guiddef.h
    Processing C:\DXSDK\Include\DShowIDL\axcore.idl
    Processing C:\DXSDK\Include\DShowIDL\axextend.idl
    Processing C:\Include\ocidl.idl
    Processing C:\Include\oleidl.idl
    Processing C:\Include\servprov.idl
    Processing C:\Include\urlmon.idl
    Processing C:\Include\msxml.idl
    Processing C:\DXSDK\Include\DShowIDL\control.odl
    Processing C:\Include\oaidl.acf
    Processing C:\Include\ocidl.acf
    midl\oleaut32.dll : error MIDL2020 : error generating type library : LayOut failed : IVideoWindow


    Thanks for your help

    Wednesday, May 09, 2007 3:17 PM

Answers

All replies

  • My first guess would be that you are using old IDL files, or an old MIDL compiler.

     

    Also, if the goal here is to access DirectShow from managed code, there are other options.

    Wednesday, May 09, 2007 5:23 PM
  • Could you let me know what are the other options?

    Actually I would like to take the stream video from a webcam...

    If you have any idea, let me know.. Thanks

     

    Thursday, May 10, 2007 12:33 PM
  • Well, my choice of an alternative would be http://DirectShowNet.SourceForge.Net.  Course, I could be biased...

     

    ---

    Co-Author DirectShowNet

    Thursday, May 10, 2007 7:14 PM