As a rule of thumb (which is possibly total factual truth, for now) you can't link up different emulators... though you can certainly transfer pokemon by opening the saves in PkHeX (some save conversion potentially required)
(You can't "trade" between those 2 games in the first place, just one-way transfer in a needlessly complicated way this process bypasses)