vbstb
vbstb

Reputation: 1451

ATL/WTL predefined variable _Module : Isn't this illegal identifier in C++?

ATL/WTL automatically creates skeleton codes with global variable _Module defined. And I've found that WTL expected this to be defined in this specific name till version 7. I also heard that ATL project wizard also generates symbols such as _Handler, _ServiceMain in user namespace.

Isn't this illegal identifier in C++? If so, should I rename it (eg. g_Module)?

Upvotes: 2

Views: 108

Answers (0)

Related Questions