NO

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

PabloMack

  • Guest
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: 2115
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

PabloMack

  • Guest
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 »