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

[REBOL] Re: accessing c functions

From: larry:ecotope at: 11-May-2001 20:17

Hi Rishi The rebol part of accessing a shared library (dll in Windows) is illustrated by a script on the Ecotope rebsite. The script shows how to access the functions in the C-Runtime library crtdll.dll on Win98. Just change the extension to .r. http://www.nwlink.com/~ecotope1/reb/clib.txt If you want to access some custom functions written in C, you will have to get a C programmer to write the code and compile it to a dll which exports those functions. They will be able to tell you the args and return specs for wrapping it in a Rebol routine. You need a View/Pro license or Command to access a shared library. HTH -Larry