Reply To: MWEdit

Home Forums Projects MWEdit Reply To: MWEdit

#5313

Something’s broken with the TCHAR implementation: https://github.com/deathssoul/MWEdit/actions/runs/23533305041/job/68502145150

It started by complaining about the TCHAR typedef in common/dl_str.h not being a type so I added the winnt.h header to it since the typedef wasn’t being picked up from common/dl_base.h (probably being overridden somewhere in the spaghetti code) and then it started complaining about the system header itself.

I’ll set it aside for right now but any ideas? It was building before so one of the overrides is borked. I could try narrowing it down by removing the redefinition from common/dl_base.h or even making it a global typedef in a new namespace and adjusting the type in the project (will take a while but should fix it).

That said, we do have a task item to switch over to proper Unicode handling anyways but I’m not exactly ready to tackle the conversion between character encodings as OpenMW differs from regular Morrowind