Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 684 Bytes

compiler-error-c3625.md

File metadata and controls

24 lines (19 loc) · 684 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C3625
Compiler Error C3625
11/04/2016
C3625
C3625
fdf49f21-d6b1-42f4-9eec-23b04ae8b4aa

Compiler Error C3625

'native_type': a native type cannot derive from a managed or WinRT type 'type'

A native class cannot inherit from a managed or WinRT class. For more information, see Classes and Structs.

Example

The following sample generates C3625:

// C3625.cpp
// compile with: /clr /c
ref class B {};
class D : public B {};   // C3625 cannot inherit from a managed class