NO

Author Topic: Is there no provision for using Win32 types in console programs?  (Read 37 times)

Offline PabloMack

  • Member
  • *
  • Posts: 3
When I include <windows.h> I get the following error when I try to build the project in the IDE: fatal error #1014: #error: "No Target Architecture".

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1799
Re: Is there no provision for using Win32 types in console programs?
« Reply #1 on: March 13, 2019, 05:51:36 pm »
use Enable Microsoft extensions -Ze
If you want ide do that, use PrjChkMS Add-In
May the source be with you

Offline PabloMack

  • Member
  • *
  • Posts: 3
Re: Is there no provision for using Win32 types in console programs?
« Reply #2 on: March 13, 2019, 07:08:04 pm »
I saw that but to me it didn't imply Win32 header support. I enabled it and the errors for handles went away but it still doesn't recognize SYSTEMTIME which is the standard time format for Win32. Thanks for the info.
« Last Edit: March 13, 2019, 11:05:55 pm by PabloMack »