Click here to Skip to main content
15,881,757 members
Articles / Mobile Apps

HOWTO: Combine Managed and Unmanaged Projects into a Single Visual Studio Solution

Rate me:
Please Sign up or sign in to vote.
4.28/5 (26 votes)
8 Apr 2004CPOL18 min read 145.8K   343   54  
This article describes how to combine managed and unmanaged projects into a single Visual Studio .NET solution.
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__89876BB7_A2E8_4A1C_9B3D_74AA7EC13255__INCLUDED_)
#define AFX_STDAFX_H__89876BB7_A2E8_4A1C_9B3D_74AA7EC13255__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


// Insert your headers here
#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers

#include <windows.h>

// TODO: reference additional headers your program requires here

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__89876BB7_A2E8_4A1C_9B3D_74AA7EC13255__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Web Developer
United Kingdom United Kingdom
I'm an old MFC lag, currently wrestling with the niceties of C# and Pocket PCs.

Comments and Discussions