Well the probleam is not the codes i post(mirc.exe.manifest) becuse here it works great
then you may missing a or some system dlls. or you doing somthing wrong
mIRC 6.17 will break all scripts using mdx.dll ,and the only way to continnue using mdx in 6.17 is using an mirc.exe.manifest at the same dir where mirc.exe is with one of the both codes i post have a nice day !