Thanks to all, here's what it turned out to be:
I am not the original programmer of this system, he is long gone, and documentation was apparently not his strong suit. It turns out that this app can only be compiled and run on one PC in our company. When I compile it and run it on that PC, it...