There are observational difficulties determining dynamical masses of binary star components in the upper HR diagram both due to the scarcity of massive binary systems and spectral and photometric contamination produced by the strong wind outflows in these systems. We discuss how variable X-ray emission in these systems produced by wind-wind col\-lisions in massive binaries can be used to constrain the system parameters, with application to two important massive binaries, Eta Carinae and WR 140.