Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
'type': is geen geldig Automation-type
Opmerkingen
Er is een ongeldig type opgegeven.
Example
In het volgende voorbeeld wordt C3508 gegenereerd:
// C3508.cpp
#define _ATL_DEBUG_QI
#define WIN32_LEAN_AND_MEAN
#define STRICT
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0400
#endif
#define _ATL_ATTRIBUTES 1
#include <atlbase.h>
extern CComModule _Module;
#include <atlcom.h>
#include <atlctl.h>
#include <atlstr.h>
extern "C" int printf_s(const char*, ...);
[module(name=oso)];
union U
// try the following two lines instead
// [export]
// struct U
{
int i, j;
};
[dispinterface]
__interface I
{
[id(1)] HRESULT func(U* u);
};
[coclass]
struct C : I
{
HRESULT func(U*) // C3508
{
return E_FAIL;
}
};
int main()
{
}