V
Vadym Stetsyak
Hi there!!!
I've got the following code and during compilation I have
this error:
fatal error C1093: API call 'DefineCustomAttribute'
failed '0x801311d0'
What can this mean?
StructLayout(LayoutKind::Sequential,
CharSet=CharSet::Auto)]
__gc struct uReference
{
[MarshalAs(UnmanagedType::Bool)]
bool Added;
System::UInt64 m_object_id;
System::UInt64 object_id;
};
[StructLayout(LayoutKind::Sequential,
CharSet=CharSet::Auto)]
__gc struct uContextProperty
{
[MarshalAs(UnmanagedType::Bool)]
bool wasChanged;
[MarshalAs(UnmanagedType::ByValTStr)]
System::String* pszKey;
int nContains;
int nProperty;
float dProperty;
[MarshalAs(UnmanagedType::ByValTStr)]
System::String *pszProperty;
uReference *prefernce;
};
[StructLayout(LayoutKind::Sequential,
CharSet=CharSet::Auto)]
__gc struct uContext
{
[MarshalAs(UnmanagedType::Bool)]
bool m_canBePersistent;
[MarshalAs(UnmanagedType::Bool)]
bool finished;
[MarshalAs(UnmanagedType::Bool)]
bool m_mustCallMakePersistant;
[MarshalAs(UnmanagedType::LPArray)]
uReference[] m_Coll;
[Marshal(UnmanagedType::LPArray)]
uReference[] m_DellColl;
[Marshal(UnmanagedType::LPArray)]
uReference[] m_OldColl;
[MarshalAs(UnmanagedType::ByValTStr)]
System::String szClassName;
System::UInt64 id_clas
s;
System::UInt64 id_object;
};
I've got the following code and during compilation I have
this error:
fatal error C1093: API call 'DefineCustomAttribute'
failed '0x801311d0'
What can this mean?
StructLayout(LayoutKind::Sequential,
CharSet=CharSet::Auto)]
__gc struct uReference
{
[MarshalAs(UnmanagedType::Bool)]
bool Added;
System::UInt64 m_object_id;
System::UInt64 object_id;
};
[StructLayout(LayoutKind::Sequential,
CharSet=CharSet::Auto)]
__gc struct uContextProperty
{
[MarshalAs(UnmanagedType::Bool)]
bool wasChanged;
[MarshalAs(UnmanagedType::ByValTStr)]
System::String* pszKey;
int nContains;
int nProperty;
float dProperty;
[MarshalAs(UnmanagedType::ByValTStr)]
System::String *pszProperty;
uReference *prefernce;
};
[StructLayout(LayoutKind::Sequential,
CharSet=CharSet::Auto)]
__gc struct uContext
{
[MarshalAs(UnmanagedType::Bool)]
bool m_canBePersistent;
[MarshalAs(UnmanagedType::Bool)]
bool finished;
[MarshalAs(UnmanagedType::Bool)]
bool m_mustCallMakePersistant;
[MarshalAs(UnmanagedType::LPArray)]
uReference[] m_Coll;
[Marshal(UnmanagedType::LPArray)]
uReference[] m_DellColl;
[Marshal(UnmanagedType::LPArray)]
uReference[] m_OldColl;
[MarshalAs(UnmanagedType::ByValTStr)]
System::String szClassName;
System::UInt64 id_clas
s;
System::UInt64 id_object;
};