use-revolution digest, Vol 1 #360 - 13 msgs

diskot123 at juno.com diskot123 at juno.com
Tue Apr 23 13:13:01 EDT 2002


>My question though is: is there absolutely no other way to use a XCMD in
>MacOS without using a resource fork?...
Yes. XCMDs are HyperCard, SuperCard style externals that are supported on
MacOS to make porting from those products easier. All new external
development should be done using the external SDK which is distributed
with Revolution. These externals compile to code resources on Mac, DLLs
on Windows, and Executables on Unix systems to work cross platform. The
database library is implemented as a Revolution style external and as
such works cross platform (MacOS,OSX,Windows,Unix) and support Valentina
on Mac and Windows. 

>Further, that since Darwin does not seem to
>support resource forks it becomes impossible to use it as a general-
>purpose scripting tool because there is no way to use external
functions...   
For now you can write an external which contains functions which wraps
around a shared library. This is the way Valentina support works in the
database library (RevDB)..Rev specific functions were added to the VXCMD
product (Rev is not calling the normal VXCMD functions because it needs
to support the binding, binary data and a whole lot more) and RevDB just
calls through to the shared library.

If you need to call mach-o code on OSX you can compile the code as a
bundle and load it using the CFM Manager from the external.

Tuviah Snyder ~tuviah at runrev.com
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!



More information about the use-livecode mailing list