for BT u need any BT stack. for sample, from Bluesoleil, WidComm or Toshiba.
unfortunatelly i use BT last time about 5 years back.
i remember, that Bluesoleil work with 9x, but forget, which version exactly...
for IR u dont need drivers, because ur IR port already mapped as usual COM2.
unfortunatelly i use IR last time about 15 years back.
i remember, that my USB IR with drivers work with 9x, but forget, how it use, and which exactly software need...
i remember only, that there was needed select com port in that software.