// TestDLL.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" extern "C" _declspec(dllexport)void Init(int width, int height); extern "C" _declspec(dllexport)char* Process(char* test); BOOL APIENTRY DllMain( HINSTANCE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { return TRUE; } void Init(int width, int height) { // Do nothing } char* Process(char* test) { return "test"; //return strlen(test); }