I don't spot anything obviously wrong here, so you'll probably need to
upload everything.  Alternatively, since I know you occasionally build
from source, try running this in the debugger and attach a stack trace
to the bug report.

Rick

On Thu, Apr 23, 2009 at 4:49 PM, Rony G. Flatscher
<rony.flatsc...@wu-wien.ac.at> wrote:
> Reworking the BSF4Rexx dynamic library, and in a first step defining a
> RexxPackEntry using a RexxRoutineEntry with 13 entries of type
> REXX_CLASSIC_ROUTINE only can be compiled and be used with the RxFuncAdd()
> function. (There are no new type routines defined in the source file yet.)
>
> However, using
>
> ::requires "BSF4Rexx" library
>
> causes an exception in the "Open Object Rexx Interface".
>
> I tried to isolate the problem and create a simple stand-alone testcase, but
> unfortunately I cannot re-create that problem there.
>
> One solution would be to upload the current set of files with a bug report
> via the tracker, if deemed necessary.
>
> Otherwise, this is what I can excerpt that relates to the definitions in
> case that is sufficient already:
>
> // External functions if loaded via Rexx
>     // Build the list of entry points for the routines:
>     RexxRoutineEntry bsf_external_functions[] =
>     {
>         REXX_CLASSIC_ROUTINE( BSF                         , BSF
> ),
>         REXX_CLASSIC_ROUTINE( BsfAttachToTID              , BsfAttachToTID
> ),
>         REXX_CLASSIC_ROUTINE( BsfDetach                   , BsfDetach
> ),
>         REXX_CLASSIC_ROUTINE( BsfDropFuncs                , BsfDropFuncs
> ),
>         REXX_CLASSIC_ROUTINE( BsfGetTID                   , BsfGetTID
> ),
>         REXX_CLASSIC_ROUTINE( BsfInvokedBy                , BsfInvokedBy
> ),
>         REXX_CLASSIC_ROUTINE( BsfLoadFuncs                , BsfLoadFuncs
> ),
>         REXX_CLASSIC_ROUTINE( BsfLoadJava                 , BsfLoadJava
> ),
>         REXX_CLASSIC_ROUTINE( BsfQueryAllFunctions        ,
> BsfQueryAllFunctions        ),
>         REXX_CLASSIC_ROUTINE( BsfQueryRegisteredFunctions ,
> BsfQueryRegisteredFunctions ),
>         REXX_CLASSIC_ROUTINE( BsfShowErrorMessage         ,
> BsfShowErrorMessage         ),
>         REXX_CLASSIC_ROUTINE( BsfUnloadJava               , BsfUnloadJava
> ),
>         REXX_CLASSIC_ROUTINE( BsfVersion                  , BsfVersion
> ),
>         REXX_LAST_ROUTINE()
>     };
>
>     RexxPackageEntry bsf_package_entry =
>     {
>         STANDARD_PACKAGE_HEADER
>         REXX_INTERPRETER_4_0_0,              // anything including and after
> 4.0.0 will work
>         "BSFLIB",                            // name of the package
>         "4.0",                               // package information
>         NULL,                                // no load function
>         NULL,                                // no unload function
>         bsf_external_functions,              // the exported functions
>         NULL                                 // no exported methods
>     };
>
>     // The package loading stub.  OOREXX_GET_PACKAGE() is a macro that,
> basically,
>     // defines a function whose name is RexxGetPackage().  On Windows, this
>     // function, RexxGetPackage(), must be in the exports list of the .def
> file used
>     // when linking this library.
>     OOREXX_GET_PACKAGE(BSFLIB);
>
>
> Would this information be already sufficient or shall I upload the files
> with a bug report ?
>
> ---rony
>
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to