$dllcall seems to crash mIRC if I don't specify a 4th parameter. Try this (the dll must exist for it to work):
//echo -a $dllcall(pokemon.dll,a,b)