#ifndef DLLPACKAGE_H #define DLLPACKAGE_H /////////////////////////////////////////////////////////////////////////// // DllPackage.h - Supplies Exports // // version 1.0 // // // // - Create as Win32 Project: // // - Set Properties\General\Configuration Type = Dynamic Library (.dll) // // - Set Properties\C/C++\PreProcessor\defines = ...;DLL_SOURCE // // - Set Properties\C/C++\Code Generation\Runtime Library // // to the value: Multi-threaded Debug DLL // // // // Jim Fawcett, CSE687 - Object Oriented Design, Spring 2006 // /////////////////////////////////////////////////////////////////////////// #ifdef DLL_SOURCE #define DLL_API __declspec(dllexport) #else #define DLL_API __declspec(dllimport) #endif #endif