News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

I lose my time . Or CRT times functions

Started by ToutEnMasm, February 19, 2008, 02:22:31 PM

Previous topic - Next topic

GregL

ToutEnMasm,

QuoteYou must put the main proc in C,this enough.
main proto c

That does work, but it works the other way as well.

I gotta go. Talk to you later.


ToutEnMasm


You are right, the libcmt want
Quote
   lea eax, _tzname
   .IF tstruct.dstflag == 0
      mov edx, [eax+0]
      mov ptzname, edx
   .ELSE
      mov edx, [eax+4]
      mov ptzname,edx
   .ENDIF

the msvcrt want
Quote
   mov eax, _tzname
   .IF tstruct.dstflag == 0
      mov edx, [eax+0]
      mov ptzname, edx
   .ELSE
      mov edx, [eax+4]
      mov ptzname,edx
   .ENDIF

It isn't the same thing

a+

GregL

ToutEnMasm,

Yes, I agree. I am seeing the same thing.