when i try and run it, i get the error popup
quote:
Entry Point Not Found
=====================
The procedure entry point ??0Input@@QAE@XZ could not be located in the dynamic link library ainput.dll
and after that i get this popup
quote:
Could not execute: Path not found(Win32 error 3).
i have no idea what this is, any ideas, thanks
.cpp
#include "ainput.h"#include <windows.h>BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ){ switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE;}void Input::setNumber(int number){ this->number=number;}int Input::getNumber(){ return this->number;}Input::Input(){ return;}
.h
#ifdef AINPUT_EXPORTS#define AINPUT_API __declspec(dllexport)#else#define AINPUT_API __declspec(dllimport)#endifclass AINPUT_API Input {private: int number;public: Input(); void setNumber(int number); int getNumber();};