On Jul 19, 2006, at 1:11 PM, Rafael Vallejo wrote:
Hello list,
I'm porting an application writen in "C" to RealBasic, that
aplication make use of pointers and seems to be almost imposible to
not use them, is there a way to use pointers in RealBasic?
Here is how the definition is done.
static BYTE* m_pNext = 0;
And the real problem is this use of the pointer:
m_pNext += sizeof(FS6IPC_WRITESTATEDATA_HDR) + dwSize;
What is the equivalent in RealBasic for this
A ptr is just an address
And an address is just a number
m_pNext = 0
You'll need to figure out what the sizeof(FS6IPC_WRITESTATEDATA_HDR)
is, but it's some value
Same for dwSize
m_pNext = m_pNext + FS6IPC_WRITESTATEDATA_HDR + dwSize
this calculates the next address
But without more code it's hard to know what the right mechanism to
get the data is
_______________________________________________
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>