{I+=codeWee;} |
//== Imported DLL : My.DLL == int MyFunc() { // Codes... } //== Importing EXE or DLL == typedef int (*MyFunc)(); MyFunc lpGetMyFunc; HMODULE hModule; hModule = LoadLibrary(L"my.dll"); lpGetMyFunc = (GetImpoterFunc)GetProcAddress(hModule , "MyFunc"); int n= lpGetMyFunc();