"Mikolaj Zalewski" mikolajz@google.com writes:
+[uuid(8b05fe77-4a6c-4133-b9cd-8f81747af784)] +library Test +{
- importlib("../../stdole2.tlb/std_ole_v2.tlb");
You shouldn't use an explicit path here.
+#define expect_eq(expr, value, type, format) { type _ret = (expr); ok((value) == _ret, #expr " expected " format " got " format "\n", value, _ret); } +#define expect_int(expr, value) expect_eq(expr, (LONGLONG)value, LONGLONG, "%lld") +#define expect_hex(expr, value) expect_eq(expr, (LONGLONG)value, LONGLONG, "0x%llx")
Please don't use %ll formats, they aren't portable.