What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Detect x64 through JScript & EM_SETSEL on x64

[?] Detect x64 through JScript & EM_SETSEL on x64
Author: Message:
TheBlasphemer
Senior Member
****

Avatar

Posts: 714
Reputation: 47
36 / – / –
Joined: Mar 2004
RE: [?] Detect x64 through JScript & EM_SETSEL on x64
It's far more likely that it's a bug in how you use it than it being related to x64.
Messenger is a x86 (32-bit) program, and as such is run in a x86 enviroment with x86 APIs. x86 processes do not have access to x64 APIs, and as such EM_SETSEL would just take 32-bit parameters.
The article you mentioned is about 16-bit vs 32-bit, not about 32-bit to 64-bit, and on top of that it checks on-compile time, meaning that if you'd compile your app as 16-bit, it'd have used the 16-bit methods. Messenger is compiled as 32-bit, and as such should just use 32-bit APIs.
Furthermore, changing your programs behaviour on x64 windows even though you're a x86 process would only introduce weird bugs.

I'd suggest you read up on EM_SETSEL here and try to find out where you went wrong.
Also I suggest you test your script on a 32-bit machine, and I can almost assure you that the same bug will appear, as it's most definitely not related to your 64-bit OS ;)
[Image: theblasp.png]
02-02-2010 12:03 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Detect x64 through JScript & EM_SETSEL on x64 - by SmokingCookie on 01-31-2010 at 07:11 PM
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 - by Mnjul on 01-31-2010 at 07:30 PM
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 - by SmokingCookie on 01-31-2010 at 07:35 PM
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 - by TheBlasphemer on 02-02-2010 at 12:03 PM
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 - by SmokingCookie on 02-02-2010 at 07:39 PM
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 - by matty on 02-02-2010 at 08:35 PM
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 - by SmokingCookie on 02-02-2010 at 08:40 PM
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 - by matty on 02-02-2010 at 08:46 PM
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 - by SmokingCookie on 02-02-2010 at 08:53 PM
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 - by TheBlasphemer on 02-02-2010 at 10:15 PM
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 - by SmokingCookie on 02-03-2010 at 05:14 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On