Kernel32 Problem

I have put up an old system that is halfway converted to .Net in virtual QA and it worked. Then we went to bring up a copy of the system that was going to be virtual production and just about everything works except a batch program, MCorrection.EXE, that was just converted to .Net. It worked in QA which is a virtual Windows Server 2008 R2 Enterprise system with service pack 1 that is a 64 bit operating system. The production is the same. However, the system still uses some VB6 control dll that are going to be the last thing converted.