Hi,

The attached idl file gives an error when used with
        widl -DUSE_TYPEDEF simple.idl

I doubt, that it is a syntax error, since adding "-h"
creates the header, using "-c" gives the error.

The error is:
        error: Unsupported member type 0x0


    Elrond
[
        uuid(fcd1436a-22e0-4e44-97e7-030e18586f92),
        version(0.0),
        pointer_default(unique),
        explicit_handle
]
interface simple
{
#ifdef USE_TYPEDEF
        typedef unsigned int DWORD;
#else
#define DWORD unsigned int
#endif

        typedef struct _some_struct {
                DWORD some_data;
        } SomeStruct;

        /* Function 0 */
        DWORD SimpleTestFn(handle_t BindingHandle,
                           [in] SomeStruct *data);
}


Reply via email to