Originally Posted by
L.Henrique
Intenta cargandola asi desde el source del main.dll o de donde quieras
Código:
HINSTANCE e_Dll = LoadLibrary("DllName.dll");
LPFNDLLFUNC1 lpfnDllFunc1; // Function pointer
DWORD dwParam1;
UINT uParam2, uReturnVal;
if(e_Dll != NULL)
{
lpfnDllFunc1 = (LPFNDLLFUNC1)GetProcAddress(e_Dll,
"APIname");
if (!lpfnDllFunc1)
{
// handle the error
FreeLibrary(e_Dll);
//return 1;
}
else
{
// call the function
uReturnVal = lpfnDllFunc1(dwParam1, uParam2);
}
}
//--
else
{
MessageBox(0,".dll Not Found","Some Error",0);
ExitProcess(1);
return;
}
o busca el offset del pPlayDinamicEffect del zMain