I cannot reproduce on Windows 10 with either your original version or my port (both 32 and 64bit); compiled works fine.
What version OS, and have you been doing clean installs of new tB versions? Some very odd bugs have been tracked to not deleting all the old files or using a new folder when updating IDE versions.
Yes, I have Windows 7, but I don't think it's about the system. To reproduce the problems, you not only need to just take and run the EXE, but also you need to start the program by calling the CabinetAddFiles function, to do this, click on one of these buttons in the picture.