fatal error C1189: #error : You cannot use 32-bit time_t (_USE_32BIT_TIME_T) with _WIN64

Locked fatal error C1189: #error : You cannot use 32-bit time_t (_USE_32BIT_TIME_T) with _WIN64

  • 12. března 2012 4:59
     
     

    Hi,

    When building the application for DeskBand in windows 7 32 bit machine using VS 2005 target to 64 bit compiler I get this error "fatal error C1189: #error :  You cannot use 32-bit time_t (_USE_32BIT_TIME_T) with _WIN64".

    Please help me anyone  to resolve this error.

    Thanks.

Všechny reakce

  • 12. března 2012 7:32
     
     Odpovědět

    Find a definition like ‘#define _USE_32BIT_TIME_T’ in your source files, including stdafx.h, or see the Project Properties, C/C++, Preprocessor. Then try to remove it.


    Or compile your deskband in 32-bit mode.



    • Označen jako odpověď rmgs123 12. března 2012 8:51
    •  
  • 12. března 2012 8:51
     
     
    Thanks for ur reply Viorel.