On May 26, 2006, at 12:13 PM, Jonathon Bevar wrote:
Hi all,
Ok I have a new project which is to convert VB code to RB. I have
the following:
Public Type RetPacketStructure
B0 As Byte
B1 As Byte
B2 As Byte
B3 As Byte
B4 As Byte
B5 As Byte
B6 As Byte
B7 As Byte
End Type
Now where do I put this in RB? Most of it is not bad but there is
some I am totally lost at.
A structure in RB
That would be easiest
A memoryblock that is 8 bytes would work as well
Oh yes and this as well, what do I do with this in RB?
Declare Function RegCloseKey Lib "advapi32" (ByVal hKey As Long) As
Long
Now would LONG be DOUBLE in RB? And where would i put the above in
RB code?
Long is integer
I need this to work in both Mac and Win systems, but I am on a PC
Win XP/Pro with RB2005r4.
so it has to be inside a #if TargetWind32 block because the
declaration wont work on a Mac
_______________________________________________
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>