#ifndef INDLL_H #define INDLL_H #ifdef EXPORTING_DLL extern __declspec(dllexport) int Triple(int); #else extern __declspec(dllimport) int Triple(int); #endif #endif
#define EXPORTING_DLL #include <stdafx.h> #include "Header.h" void APIENTRY DllMain() { return TRUE; } int Triple(int x) { return x * 3; }
#include
#include "stdafx.h"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)