The Anti-Comintern Pact was useless, as Hitler figured out. Hitler actually offered membership to Poland, who declined, as they already had non-aggression treaties with both Germany and the USSR, who both invaded them.
True, Hitler did actually want Poland as an ally, he admired Marshall Piłsudski. So much he attended a memorial service for Piłsudski, and had an honor guard placed at his tomb in Kraków when the Germans invaded Poland.