79782457

Date: 2025-10-04 11:40:42
Score: 2
Natty:
Report link

It looks like the issue comes from defining STRICT. I looked to win16.h header, which declares HWND, the header checks for STRICT which I defined in test.cpp. If STRICT is not defined, HWND is declared as UINT. But if defined, HWND is declared as structure.

For solution, I added "#define STRICT" to test2.cpp.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Codesynth