OpenTrespasser / JurassicParkTrespasser

A git-based fork of the Jurassic Park: Trespasser source code.
101 stars 25 forks source link

CHandle disambiguation (second attempt) #59

Closed meekee7 closed 4 years ago

meekee7 commented 4 years ago

Lib/Groff/ObjectHandle.hpp declares a class CHandle. Microsoft's ATL library declares a class ATL:: CHandle. However, the ATL headers also contain a using namespace ATL; instruction, which causes a name collision. A namespace qualifier is added to resolve the name collision. The collisions all occur in library code. Currently only some tools, especially GUIApp, use ATL in a way that this becomes a problem. Because of that, only header files need to be fixed.

Second attempt after the first PR #51 had a commit with a faulty message.