rdtsc vs. GetTickCount()
The following function (from the MM Challenge) does not compile in
Delphi 5. Is it save to replace this with GetTickCount for
compatibility, or will that cause problems?
function GetCPUTicks: Int64;
asm
rdtsc;
end;
--
Regards,
Bruce McGee
Glooscap Software
.
Relevant Pages
- Re: I really hate .NET especially inside Delphi
... folks that have lauded this compatibility. ... I just don't believe in hindsight, ... the same approach that Delphi for .NET did. ... Borland have towards .NET. ... (borland.public.delphi.non-technical) - Re: I really hate .NET especially inside Delphi
... now in hindsight, is it? ... of folks that have lauded this compatibility. ... customers are generally a little more intelligent and objective. ... with Delphi. ... (borland.public.delphi.non-technical) - Re: VB6, VB2005, or Something Else?
... So any VB6 successor is free to break compatibility to COM ... That doesn't imply that the "old syntax" couldn't be supported and that the new one couldn't support native code compilation. ... But I think it's a myth that you simply can take your native code and compile it to managed one and expect it to be the same as if you would re-engineer the whole application and rewrite it in .NET. ... But I also stated that this would break compatibility in many ways. ... (microsoft.public.vb.general.discussion) - A funny yet crazy extreme test on Delphi 7 compiler
... See how Delphi compiles very huge source file! ... I use the command line tool dcc32 to ... A project with a major source file names TestCase.pas. ... Delphi can compile crazy functions with 999 parameters. ... (borland.public.delphi.non-technical) - GlobalMultiUse component breaks its compatibility !!!
... I have a component (ActiveX dll) with only one class in it. ... compiled, even though the binary compatibility is set, a new UUID is ... Public Property Let MyStringProp(ByVal vNewValue As String) ... Compile the project. ... (microsoft.public.vb.com) |
|