EWin with Visual Studio 7.1

Making the project

Start by making a new solution for your project.

Now add ewin to the solution with File->Add Project->Existing Project, then add it as a dependancy with Project->Project Dependancies

Now change the project settings for your application. The following things need to be configured: (pay close attention to the selected configuration in these screenshots)

Add EWin to your include path, turn off 64-bit warnings, and (optionally) switch to /Zi
DEBUG needs to be defined in debug
Need to link the multi-threaded CRT

Debug needs RTTI enabled
Add comctl32.lib to the link line. Other ewin functionality may require other os libs as well, such as wsock32.lib, winmm.lib, comdlg32.lib, etc.
I also usually disable Edit-and-continue, C++ exceptions, and Minimg srcal rebuild; but all of these are optional.

Now to write a simple sample app!

stdafx.h
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once


#define WIN32_LEAN_AND_MEAN	// Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <common.h>
#include <win.h>

EWinSample.cpp
// EWinSample.cpp : Defines the entry point for the application.
//

#include "stdafx.h"
#include "EWinSample.h"

EWinMain( TWin )