RebCall

世の中には凄い人がおられまして、Rebolにパッチを当てて有償版のRebol/Commandを買わずしてAPIコールを可能にするものです。
http://mortimer.devcave.net/projects/rebcall
こういう貧乏人根性は…とも思うのですが、大変有り難いかもです。

REBOL []

do/args %rebcall.r 'connect     ;connects to RebCall if not already connected

shell32: load-library "shell32.dll"
shell-execute: make-routine [
  hwnd [integer!]
  operation [string!]
  file [string!] 
  parameters [string!]
  directory [string!]
  show-cmd [integer!] return: [integer!]] shell32 "ShellExecuteA"

none

ShellExecute通ったー!!