RA2 runs on the same engine as Tiberian Sun (with minor modifications)
Tiberian Sun was Westwood's first engine in C++
It was also two years behind schedule and pushed out barely functional after EA bought Westwood out in the late 1990's
While Westwood was busy putting itself back together under EA they spun off "Westwood Pacific" and tasked them to make Red Alert 2 using this same engine
Red Alert 2's engine is the most cantankerous, buggy piece of junk that ran what I would strongly argue was the pinnacle of the RTS genre. Getting it running on modern systems is an exercise in "what directdraw wrapper actually works?" and hoping that the UDP patch doesn't cause random game desyncs, even on a modern LAN