In the present paper, a General Algorithm is applied to the analysis of high-rise structures. This algorithm is to be used as a calculation tool in preliminary design; it allows to define the interaction between closed and open, straight or curved shear-walls, and the forces exchanged in structures subject to mainly horizontal loads. The analysis can be performed in both static and dynamic regimes, the mode shapes and the natural frequencies being assessed. This general formulation allows analyses of high-rise structures by taking into account the torsional rigidity and the warping deformations of the elements composing the building without gross simplifications. In thisway it is possible to model the structure as a single equivalent cantilever, thus minimising the degrees of freedom of the system, and consequently the calculation time. Finally, potentials of the method proposed are demonstrated by a numerical example which emphasizes the link between global displacements and stresses in the elements composing the structure.