Actually yes I have a valid reason, I have to interact with an externall aplication that makes use of Interprocess to comuticate, actually the information between aplications is copied to and from via copymemory calls to windows32 api so basically them shares a portion of memory, so I need to point to that memory address and increment that adress in order to access to it.

Regards

Rafael

Björn Eiríksson escribió:


On 19.7.2006, at 20:11, 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



Maybe you are trying to make too direct port ?

The question here is why would you need pointers in REALbasic ? What are you trying to accomplish that you cannot accomplish with the REALbasic reference counting system ?

You might have a valid reason (hard to know from your mail), but it might also be a porting strategy issue, porting from a low lever language to high level language should never be done as line by line port.
--
______________________________________________________________________
Björn Eiríksson                        [EMAIL PROTECTED]
Einhugur Software
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 53 countries world wide.
______________________________________________________________________
For support:                           [EMAIL PROTECTED]
To post on the maillist:               [EMAIL PROTECTED]


_______________________________________________
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>



******************************************************
This message has been scanned for viruses and
dangerous content by Kypus Server Appliance E-Mail
Protection Service, and is believed to be clean.
******************************************************

_______________________________________________
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>

Reply via email to