Xojo Conferences
XDCMay2019MiamiUSA

LittleEndian for MemoryBlock (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: [ANN] RBGarage.com Celebrates 3rd Anniversary with Site Redesign
Next thread: GCC 4.0 - Pre 10.3.9 support - what to do


macosx and unix paths   -   GOLD
  LittleEndian for MemoryBlock   -   Bob Delaney
   Re: LittleEndian for MemoryBlock   -   Joseph J. Strout
   Re: LittleEndian for MemoryBlock   -   Bob Delaney

LittleEndian for MemoryBlock
Date: 18.06.05 05:40 (Fri, 17 Jun 2005 23:40:28 -0500)
From: Bob Delaney
If a MemoryBlock, mb, is passed to a plugin from an RB application,
is it possible for the Boolean value of mb.LittleEndian to be found
by the plugin?

Bob
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: LittleEndian for MemoryBlock
Date: 20.06.05 15:38 (Mon, 20 Jun 2005 09:38:13 -0500)
From: Joseph J. Strout
At 11:40 PM -0500 6/17/05, Bob Delaney wrote:

>If a MemoryBlock, mb, is passed to a plugin from an RB application,
>is it possible for the Boolean value of mb.LittleEndian to be found
>by the plugin?

Sure, just use the dynamic runtime access (REALGetPropValue or
whatever it's called).

Best,
- Joe

Re: LittleEndian for MemoryBlock
Date: 21.06.05 05:00 (Mon, 20 Jun 2005 23:00:38 -0500)
From: Bob Delaney
At 9:38 AM -0500 6/20/05, Joseph J. Strout wrote:
>Sure, just use the dynamic runtime access (REALGetPropValue or
>whatever it's called).

Joe,

That worked. With mb declared as a REALmemoryBlock in my C code I had
to coerce it to a REALobject, so the call looked like:

REALGetPropValue((REALobject)mb, property, &isLittleEndian)

with property being the C-string "LittleEndian" and isLittleEndian a Boolean..

Thanks.
Bob
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>