what was the right move?...

jjjmmmccc177- you probably ment move 45, because Rh8 at move 44 is ileagel...
stormcrow - 44.Rg8 is ileagel, 44.Rg7+ Kxg7, 45.Rg8+ Kf5 46.Rxg3 h1=Q+
I think:
45. Rh8 h1=Q+ 46.Rxh1 Nxh1 47. b7 and he can't stop you from queening and winning the game...
Hey all,
this was my game in the final round of the PA state tournament. i played as white and
i know i made some mistakes and especially made one big blunder at the end but after some analysis i was just wondering if i figured out the right move(not that it matters now... haha)now my question is what move should i have made at move 44? i think it should be 44. Rh8.. because that would allow me to trade my rook for his pawn but would have allowed me to get my pawn promoted. please comment.
thanks for any and all help...