It sounds like the app you wrote is doing 99% of the work. And I'm guessing it was written in C, which means it's an x86 binary and could theoretically run on any x86 system.
Modern Windows actually has a lot of problems running older software. In some cases, the only way to get those applications working again is using Wine on Linux.