widl: Error on simple idl file

Elrond elrond+winehq.org at samba-tng.org
Wed Aug 9 07:18:00 CDT 2006


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
-------------- next part --------------
[
	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);
}


More information about the wine-devel mailing list