Guidance
指路人
g.yi.org
Guidance Forums / Reginald Rexx / user programs/functions

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. user programs/functions
#12667
Posted by: PeterJ 2009-02-02 23:45:49 Last edited by: PeterJ 2009-02-02 23:55:56 (Total edited 1 time)
Jeff, do you have some code which I could use to write my own programs/functions interfacing to Reginald. I remember, you mentioned writing in C, therefore I appreciate also a recommendation of a free C compiler. Most interesting are interfacing stem variables, if this is too complicated I can also start with simple functions, reading input parameters, and returning a result.
My learning curve is primarily in C, as I have not written a sinlge line of code in it.

Regards

Peter
Message2.
#12670
Posted by: Jeff Glatt 2009-02-03 01:01:20
Go to http://home.roadrunner.com/~jgglatt/rexx/rexxdev.htm and download the "Reginald's Developer Kit". In there, you'll find three articles, host.htm, debugger.htm, and funcs.htm.

If you're looking at add new functions (in a DLL) that lots of people can call from their rexx scripts (by loading your DLL with a LIBRARY statement, just like RexxGui, RexxINet, RexxSock, etc), then you'll want to read "funcs.htm".

If you're looking to write an application (in C or C++) that runs REXX scripts, like RxLaunch.exe or RexxCenter.exe, then read host.htm. If you also want your app to have its own built-in rexx debugger, like RexxCenter.exe, then read debugger.htm as well.

There are a bunch of example C apps that demonstrate all of the topics in the articles. Each comes with an MS Visual C++ project file, but you should be able to compile the apps with any Windows C/C++ compiler (such as DevC or MingW. But you'll have to write your own "makefile" for it). You'll likely need to go to Microsoft's web site, and download/install the "Platform Software Development Kit" (Platform SDK) to get all the C/C++ include files and libraries for Win32 development.
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥1,800.00 ·
 
 
¥489.00 ·
 
 
¥288.00 ·
 
 
¥908.00 ·
 
 
¥748.00 ·
 
 
¥264.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0