Home > Software engineering >  VC6.0 run normal procedures, the data on the transplanted into vs2013 is wrong
VC6.0 run normal procedures, the data on the transplanted into vs2013 is wrong

Time:11-12

In VC6.0 run normal procedures, transplanted into vs2013 problem a: on the data in the Shared memory read it wrong, skill code is no problem, the problem arises in time_t accounted for eight bytes in vs, the four bytes of vc, it can consider structure byte alignment, vc and vs. the default is not the same, the second in the project properties -- -- "a" c/c + + preprocessor - "the preprocessor definitions add _USE_32BIT_TIME_T can be solved.

CodePudding user response:

Can also be __time32_t __time64_t can be specified directly

  • Related