tag:blogger.com,1999:blog-29331675.post5151715567456393127..comments2024-03-05T17:37:00.995+01:00Comments on The Delphi Geek: Four Ways to Detect Vistagabr42http://www.blogger.com/profile/06903558857617342477noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-29331675.post-3488827816411211422009-07-16T18:14:15.597+02:002009-07-16T18:14:15.597+02:00No, they didn't. And now we fully support Vist...No, they didn't. And now we fully support Vista, anyway, and this code is not active anymore.gabr42https://www.blogger.com/profile/06903558857617342477noreply@blogger.comtag:blogger.com,1999:blog-29331675.post-73149567886289077262009-07-16T17:53:39.557+02:002009-07-16T17:53:39.557+02:00Ah, well, I'm not one of users of your program...Ah, well, I'm not one of users of your program anyways, just stumbled upon this post by chance and was a bit shocked. But don't worry, real users will probably complain too ;)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-29331675.post-36327512684520201632009-07-15T17:08:08.036+02:002009-07-15T17:08:08.036+02:00Don't use it then.
And just one short remark ...Don't use it then.<br /><br />And just one short remark - no, users have no idea what they're doing.gabr42https://www.blogger.com/profile/06903558857617342477noreply@blogger.comtag:blogger.com,1999:blog-29331675.post-50692128401649198452009-07-15T17:02:11.580+02:002009-07-15T17:02:11.580+02:00The only thing I can say after reading this is tha...The only thing I can say after reading this is that you're now twice a failure you would be if you just relied on GetVersionEx and allowed the program to crash under emulation. Not only you're doing things which are not documented and not recommended in any way, circumventing normal version detection mechanisms and creating a possible source of mysterious errors if somebody somewhere has, say, new version of DLL on the old system, or if Microsoft decides to add one of those functions into older versions of system, or, or, in short, not only you're doing things so obviously against the rules.<br />What's worse, you're thinking you're smarter than your users. Just think about it for a minute: if user willingly configures the application to run under the emulation layer, doesn't this mean he already understands the possible consequences (unstability etc) and STILL wants to continue? Why the heck would you make this task even more difficult to him than it would be without you?<br />If only you knew the hatred towards you that burns in souls of those who're forced to launch their process-monitors and debuggers, scan through the actions of your application, detect your cheap tricks, write a shim libraries or something like that to trick your application into believing that you have guessed the version right, and after doing all of that STILL LAUNCH YOUR APP like they wished from the beginning. Just with much more pain, thanks to your help.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-29331675.post-88643409088852631462008-02-26T11:14:00.000+01:002008-02-26T11:14:00.000+01:00The complete DSiWin32 library will have to be thor...The complete DSiWin32 library will have to be thoroughly checked for the Tiburon anyway. So, yes, this is planned for.gabr42https://www.blogger.com/profile/06903558857617342477noreply@blogger.comtag:blogger.com,1999:blog-29331675.post-61255753352838096942008-02-26T10:12:00.000+01:002008-02-26T10:12:00.000+01:00You could better changefunction ExportsAPI(module:...You could better change<BR/><BR/>function ExportsAPI(module: HMODULE; const apiName: string): boolean;<BR/><BR/>with:<BR/><BR/>function ExportsAPI(module: HMODULE; const apiName: ansistring): boolean;<BR/><BR/>That way it also compiles in Lazarus / Freepascal, which only support ansiString to PChar :).Unknownhttps://www.blogger.com/profile/10498094058791468948noreply@blogger.comtag:blogger.com,1999:blog-29331675.post-79181564973755603802007-10-29T19:45:00.000+01:002007-10-29T19:45:00.000+01:00Isn't it just! May not checking for the version of...Isn't it just! May not checking for the version of kernel32.dll be a more future-proof method ie, XP=V5.XXX and Vista=V6.XXX?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-29331675.post-56414651139654779652007-10-29T19:39:00.000+01:002007-10-29T19:39:00.000+01:00Then the code will have to be updated.Software is ...Then the code will have to be updated.<BR/><BR/>Software is a never ending battle.gabr42https://www.blogger.com/profile/06903558857617342477noreply@blogger.comtag:blogger.com,1999:blog-29331675.post-54425619670037661562007-10-29T19:29:00.000+01:002007-10-29T19:29:00.000+01:00What happens if MS introduce GetLocaleInfoEx in XP...What happens if MS introduce GetLocaleInfoEx in XP SP3 - due early 2008?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-29331675.post-45997161213569870912007-10-19T14:32:00.000+02:002007-10-19T14:32:00.000+02:00Don't understand. When is GetVersionEx false?Don't understand. When is GetVersionEx false?gabr42https://www.blogger.com/profile/06903558857617342477noreply@blogger.comtag:blogger.com,1999:blog-29331675.post-91026657686458555882007-10-19T14:02:00.000+02:002007-10-19T14:02:00.000+02:00Still, this does not tell me why GetVersionEx func...Still, this does not tell me why GetVersionEx function is sometime false! Can you elaborate on this? - Or may be i am missing something.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-29331675.post-31157558572454225352007-06-12T14:52:00.000+02:002007-06-12T14:52:00.000+02:00Very usefull, thanx!!Huflind [Netherlands]Very usefull, thanx!!<BR/><BR/>Huflind [Netherlands]Unknownhttps://www.blogger.com/profile/10891845988469423442noreply@blogger.comtag:blogger.com,1999:blog-29331675.post-82248151705402198882007-04-16T15:42:00.000+02:002007-04-16T15:42:00.000+02:00Thanks from VisionSystems!Thanks from <A HREF="http://www.visionsystemscorp.com" REL="nofollow">VisionSystems</A>!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-29331675.post-8373371200561824372007-03-17T20:32:00.000+01:002007-03-17T20:32:00.000+01:00Very useful! I have adopt your tips on My projectI...Very useful! I have adopt your tips on <A HREF="http://pulsa.web.id" REL="nofollow">My project</A><BR/><BR/>I have no idea on detecting true OS version before i read this article.Anonymousnoreply@blogger.com