Re: Why is this code working only in 32 bit?

Christian Schmitz <realbasiclists-9+jg12ILN6UkMvPuQOpXZQXbj/[email protected]>
Newsgroups gmane.comp.lang.realbasic.user
Message-ID <[email protected]>
> Am 03.08.2017 um 21:11 schrieb Marnaud <[email protected]>:
> 
> Hello,
> 
>    replyEvent.Long(0)=theEvent.ReplyPtr
>    replyEvent=replyEvent.Ptr(0)

Ptr size in 64-bit is 64-bit, so this won’t work well!


In general I would recommend using some high level API like NSAppleEvent* classes.

e.g. via MBS Plugin:
http://www.monkeybreadsoftware.net/pluginpart-nsapplescript.shtml

The plugins should work fine for 64-bit.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/




To unsubscribe, email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.