I'd like to write a plugin for some Windows application, and it must be a DLL. I'd really love to try doing it in a mix of Red & Red/System. But asking on Rebol&Red chatroom here on SO, I got mixed responses as to whether it is currently possible in both Red and Red/System, or in Red/System only. What's the definitive answer?
Related Questions in RED
- In Red (R2) how to call a function whose name passed by argument?
- A particular diff
- How to integrate Red into Rust?
- Rebol - How can I append text from a text field to a text list?
- How to decompress/deflate zlib data [rfc1951]?
- behavior of call in Red language
- How to evaluate refinement of a function when calling this function in Red/Rebol
- How to link other scripts when compiling main program in Red language
- How to construct a function with a default argument
- How to read key from keyboad in red/rebol
- Value of local variables in a function seems not be released post function calling in Red/Rebol language
- Use 'parse' in Red language with number block
- In Red language, how to split a string using split, but also keep the delimiters as nessecary
- How to modify each element of a block by "foreach" in red/rebol
- How does functions of Red/Rebol pass parameters, by value or by reference?
Related Questions in RED-SYSTEM
- How to pass block with context to routine?
- How to append data to block from R/S?
- How to pass value from Red/System to Red?
- Pass Red function pointer to C
- Pass by reference in Red routines
- Accessing runtime functions from Red/System
- invalid target type casting: red-context
- How to cast between integer and character in Red/System?
- How do you use #call directive for Red function with string datatypes as parameters?
- Is it possible to write a Windows DLL in Red?
- How to represent a hex string in Red/System?
- How to create a Red/System binding to a function that takes a pointer to a pointer?
- How do you get a directory listing in Red/System?
- Pointers to an 'array' in Red/System
- Red/System binding for 3D graphics on Raspberry Pi
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Yes, it is possible. You can check the announcement on the Red-Blog for 0.3.3
First of all, here is a short snippet describing the process for Red/System:
Secondly, I was finally able to get a single simple Red script to compile to a .dll. The
#exportdirective needs to be in a Red/System context as you can see the#system-globaldirective provides. Any function you have in Red needs to be wrapped with a Red/System wrapper. You can do this using#callas done below: