Re: Why is this code working only in 32 bit?
Marnaud <[email protected]>
| Newsgroups | gmane.comp.lang.realbasic.user |
|---|---|
| Message-ID | <[email protected]> |
Le 4 août 2017 à 20:50 du soir, emile.a.schwarz <[email protected]> a écrit: > > > Is Carbon 64Bits? > > > in the context: > > >Soft Declare Function AESizeOfParam Lib "Carbon.framework" (theAppleEvent as Integer,theAEKeyword as OSType,typeCode as Integer,dataSize as Integer) as Short > > >Soft Declare Function AEGetParamPtr Lib "Carbon.framework" (theAppleEvent as Integer,theAEKeyword as OSType,typeCode as OSType,ByRef actualType as OSType,ByRef dataPtr as Integer,MaxSize As Integer,ByRef DataSize As Integer) as Short > > > I restate my question: > > is AppleEvent Carbon 64 Bits ? > > > If not, this is the reason why the code does not works anymore… > Thank you, Emile. However, I don’t think it’s the problem, because the “replyEvent=replyEvent.Ptr(0)” line, which gives different results (32 vs 64 bit) is before the Declare lines. To unsubscribe, email [email protected]