uses "oxygen"

o2_run "

%    filename "t.dll"
%    dll
uses RTL32
extern export stdcall

function hello(byval name as string) as string
  return "Hello "+name
end function

end extern
" 'end src

declare function hello lib "t.dll" alias "hello" (byval name as string) as string

msgbox 0,hello("World!")




