www.sdlsuite.com Forum Index www.sdlsuite.com
Discussion of technical aspects of the SDL Component Suite
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Surprising behaviour of CPUID when compiled

 
Post new topic   Reply to topic    www.sdlsuite.com Forum Index -> BasePack
View previous topic :: View next topic  
Author Message
RCela



Joined: 22 May 2012
Posts: 4

PostPosted: Tue May 22, 2012 8:54 am    Post subject: Surprising behaviour of CPUID when compiled Reply with quote

I have observed a surprising (to me) behaviour of CPUID when compiled under Delphi 7 and Delphi XE. An identical routine including the function GenerateCPUID compiled under Delphi 7 and Delphi XE produced completely different result. I have checked all the remaining functions in the CPUID package without appreciating any differences. My conclusion was that the problem is associated to the function CRC32Ofbuffer which is in fact producing differences when called under both Deplhi versions.
Have any one an explanation for this behaviour, and the most important, is it possible produce the same results no matter the Delphi version used?
Back to top
View user's profile Send private message
hlohning



Joined: 08 Sep 2006
Posts: 277
Location: Austria

PostPosted: Thu May 24, 2012 7:31 am    Post subject: Reply with quote

Thanks for the bug report. I'll look after it over the coming weekend.

Kind regards,

Hans
_________________
Hans Lohninger
Software Development Lohninger
http://www.lohninger.com/
Back to top
View user's profile Send private message Visit poster's website
hlohning



Joined: 08 Sep 2006
Posts: 277
Location: Austria

PostPosted: Thu Oct 25, 2012 12:49 pm    Post subject: Reply with quote

The problem was not caused by the CRCOfBuffer function but by the change from ASCII to ANSI strings. It's fixed now, the new release will be available by next Monday, Oct-29,2012.

Kind regards,

Hans
_________________
Hans Lohninger
Software Development Lohninger
http://www.lohninger.com/
Back to top
View user's profile Send private message Visit poster's website
RCela



Joined: 22 May 2012
Posts: 4

PostPosted: Thu Oct 25, 2012 6:52 pm    Post subject: Surprising behaviour of CPUID when compiled Reply with quote

Many thanks
Back to top
View user's profile Send private message
RCela



Joined: 22 May 2012
Posts: 4

PostPosted: Tue Oct 30, 2012 10:16 am    Post subject: Surprising behaviour of CPUID Reply with quote

GenerateCPUID is correctly functioning in the last version. However, the function CheckgeneratedCPUID returns false when tested with the string provided by the function GenerateCPUID, both using string and ansistring to host the return of GenerateCPUID.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.sdlsuite.com Forum Index -> BasePack All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group