Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] .dll calls (newbie tutorial)

From: depotcity::telus::net at: 10-Jun-2001 22:02

Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello. I'm revisiting api calls and such.. still can't get my head around it. I made a simple VB .dll (attached as project1.dll) the VB code is as follows... Public Function Add(ByVal Value1 As Long, ByVal Value2 As Long) As Long Add = Value1 + Value2 End Function Public Function Subtract(ByVal Value1 As Long, ByVal Value2 As Long) As Long Subtract = Value1 - Value2 End Function ... end vb ... It simply adds or subtracts two numbers. Now how do I create the proper Rebol routines to get this to work? Thanks, Terry Brownell -- Binary/unsupported file stripped by Listar -- -- Type: application/x-msdownload -- File: Project1.dll