View/Pro - Callbacks?
[1/6] from: qpwoeirutz:everymail at: 15-Sep-2004 16:12
View/Pro can call foreign libraries. But is it possible to
define a callback-function (often needed for win-api) in a
function-call from rebol?
Regards
Joerg Steiner
------------------------ Werbung -----------------------
>> NEU: Ab sofort: AT-Domains superguenstig um EUR 7,00
http://www.emerion.com
---------------------------------------------------------
*** sent through http://www.everymail.net FREE e-mail
[2/6] from: ptretter::charter::net at: 15-Sep-2004 10:17
Its not currently possible but it is one of the most requested features for
/Pro /Command and /SDK users.
Paul Tretter
[3/6] from: greggirwin:mindspring at: 15-Sep-2004 9:48
Hi Joerg,
qen> View/Pro can call foreign libraries. But is it possible to
qen> define a callback-function (often needed for win-api) in a
qen> function-call from rebol?
As an addendum to Paul's reply (he's correct), while you may not be
able to use some APIs directly for this reason, you can often wrap
calls to them in a very simple DLL and call that from REBOL.
-- Gregg
[4/6] from: tbrownell::veleng::com at: 15-Sep-2004 10:01
very simple DLL
That's an oxymoron.
[5/6] from: greggirwin:mindspring at: 15-Sep-2004 12:31
Hi Terry,
TB> "very simple DLL"
TB> That's an oxymoron.
In PowerBASIC:
#COMPILE DLL
FUNCTION AddOne (BYVAL value AS LONG) EXPORT AS LONG
FUNCTION = value + 1
END FUNCTION
-- Gregg
[6/6] from: antonr::lexicon::net at: 17-Sep-2004 0:12
I think the times when building DLLs was difficult
are over. I found recently "Dev-CPP" of
http://www.bloodshed.net
with which I was able to create a simple DLL with a few
mouse clicks.
Anton.