# 写成全局变量防止 dll 被释放 $nr = Win32API.new('nr','NR_init','v','v') $nr.call