From: SourceForge.net <no...@so...> - 2007-01-10 18:13:47
|
Bugs item #1630937, was opened at 2007-01-08 16:57 Message generated for change (Comment added) made by suprhulk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1630937&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: External Functions Group: v3.1 >Status: Open Resolution: Invalid Priority: 5 Private: No Submitted By: suprhulk (suprhulk) Assigned to: Nobody/Anonymous (nobody) Summary: ooRexx V3.1.1 and Windows Vista (64) Initial Comment: I installed Windows Vista Ultimate on Sunday 01/07/2006. Monday morning, 01/08/2006, I installed ooRex311. Everything works except for the "RxFuncAdd" function. That always returns a non-zero result. I try to "add" and execute "SysFuncLoad" for "rexxutil" in almost every rexx script I have. Is this an "authorization" problem? I'm encountering a lot of adminstration problems which may be a user error. If not, can I help debug this problem? I've got Ms VisualStudio2005. I've used CVS (experienced) and SVN (novice). Does anyone have a "Quick and Dirty" document descrbing how to get and build the ooRexx311 source? Thanks, RickH P.S. I've been writing REXX and REXX extensions for twenty years now. I'm not a novice regarding "C", "C++", "Java" or "Rexx" development. I can help find out this problem. ---------------------------------------------------------------------- >Comment By: suprhulk (suprhulk) Date: 2007-01-10 13:13 Message: Logged In: YES user_id=1215919 Originator: YES It turns out that this is a defect in ooRexx v311. The function RxFuncAdd is failing to register any function that is exported by an extension DLL when running under Windows Vista Ultimate. Also, REXXUTIL is not automatically loaded by RXAPI. Any attempt to use any of the REXXUTIL exported functions fails with a "NOT FOUND" error. I had to uninstall ooRexx V311 and install ooRexx V301. Now RxFuncAdd returns "0" and "SysLoadFuncs" will register all REXXUTIL exported functions. As long as you log on with the "Administrator" user id everything runs as it did under WinXPPro. There is a problem when running an external executable via "ADDRESS CMD" if you are not logged on as "Administrator" or even if you "Run as Administrator". I'm going to open another defect for this problem. RickH ---------------------------------------------------------------------- Comment By: suprhulk (suprhulk) Date: 2007-01-08 19:03 Message: Logged In: YES user_id=1215919 Originator: YES >>Starting with an earlier version of Object Rexx (not sure which one), the RexxUtil function library is loaded by default when the interpreter is first initialized. That's great to hear! I can change my global load/init script, "rxloadfuncs.rex", to ignore "REXXUTIL"! Unfortunately "RxFuncAdd" is failing when I attempt to load/init my own rexx extension DLLs. Perhaps it's just a bug regarding the RC in V311 (I was running V301). I'll run a test by changing my "rxloadfuncs.rex" script to ignore the RC from "RxFuncAdd" and go straight to calling the "xxxLoadFuncs" function for the extension. Thanks, RickH ---------------------------------------------------------------------- Comment By: David Ashley (wdashley) Date: 2007-01-08 17:12 Message: Logged In: YES user_id=931756 Originator: NO Starting with an earlier version of Object Rexx (not sure which one), the RexxUtil function library is loaded by default when the interpreter is first initialized. Thus there is no need to ever "Add" a RexxUtil function. You can safely either remove that code from your application or ignore the results of the "Add" and SysFuncLoad functions. All of the RexxUtil functions will just work as if they were builtin functions. BTW, this is true for all platforms, not just the Windows version of ooRexx. ---------------------------------------------------------------------- Comment By: suprhulk (suprhulk) Date: 2007-01-08 17:06 Message: Logged In: YES user_id=1215919 Originator: YES Whups, I just realized that I'd need GCC. I guess I'd need to install CYGWin? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1630937&group_id=119701 |