realbasic-nug
[Top] [All Lists]

Type and End type VB coding

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: Type and End type VB coding
From: "Jonathon Bevar" <jonbevar at onclicksoftware dot com>
Date: Fri, 26 May 2006 12:13:52 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Organization: Onclick.Software
References: <20060526170034 dot E983712A5145 at lists dot realsoftware dot com><E8CF133E-661E-4124-8D68-B60856E5C758 at elfdata dot com> <20060526174012 dot 17F9E76C5A at isis dot visi dot com>
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.

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?

I need this to work in both Mac and Win systems, but I am on a PC Win XP/Pro with RB2005r4.

Jonathon


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: 5/26/2006

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


<Prev in Thread] Current Thread [Next in Thread>