Look for methods or functions or variables that manipulate string
characters. If the type used is string, wstring or dstring, then it's
almost guaranteed that is a D2 project. Conversely, if the type used is
char[], wchar[] or dchar[], and there's no usage of the former types,
then it's a D2 project.
Also. Check for imported modules, if you find modules from the Tango
Project (tango.foo.bar, tango.baz.bar, etc), then it's a D1 project.
Tango only works with D1.
I'm an idiot. Swap D1 for D2 in the above paragraph. Must. Not. Be.
Hungry. When. Posting.
--
Yao G.