I want to know how can i call a function from a c++ dll from VC++or VB,how can i call MyFunction() in this case; Can someone explain or suggest some links covering this topics.
Code:#include "stdafx.h" MyFunction() { Do something } BOOL APIENTRY DllMain(HANDLE hModule, DWORD dwReasonForCall, LPVOID lpReserved) { switch(dwReasonForCall) { case DLL_PROCESS_ATTACH: { break; } case DLL_PROCESS_DETACH: { break; } } return TRUE; }




mail:
Reply With Quote