On 3-May-07, at 12:04 AM, Eirik Karlsen wrote:

> Hi,
> I'm trying to port a small VB program to RB. They have used a lot  
> of the
> TYPE datatype, which is the same as
> STRUCT(ure) in newer RB versions. But I'm stuck with RB 5.5 so how  
> do I
> implement this datatype in
> RB 5.5 ?

1) Use a memoryblock and a set of offsets
2) a class with a bunch of public properties

Really depends on what you need to use it for

Memoryblocks if you have o call external dll's etc with it
A Class with public properties if it's just an internal container for  
data

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to