SOLIDWORKS API
Help
Unmanaged C++ and C++/CLI Code Differences
Many differences exist between unmanaged C++ and .NET-based C++/CLI
(also called managed C++). One difference between unmanaged C++ and C++/CLI
is the syntax. Although this Help shows the syntax for C++/CLI only, SOLIDWORKS
supports both unmanaged C++ and C++/CLI.
To help you transform C++/CLI syntax to unmanaged C++ syntax, examine
the examples in the following table. The same example is written in unmanaged
C++ and C++/CLI code.
Example |
Code |
Traverse Features |
|
Traverse Configurations |
|
Select Objects |
|
To learn more about the differences between unmanaged C++ and C++/CLI,
SOLIDWORKS recommends that you consult the internet and books containing
information about their differences.