Click here to Skip to main content
15,069,665 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
( With respect to projects build in studio 2008 )

Tell me difference between MFC dll built under /clr option and Managed C++
Dll with same piece of code ??:confused::confused:
Sandeep Mewara 8-Sep-10 2:12am
What did Google told?

1 solution

An MFC dll with /clr can contain both unmanged code like MFC and managed code like C++.NET allowing you to use MFC and .NET

A purly managed C++ dll implies using only managed code with .NET

Unmanaged code - the programmer is resposible for allowcation and deallocation of memory e.g. using new and delete

Managed code - automatically manage memory using garbage collections

Mixed /clr has both

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900