Sounds like a bug to me....if you can provide a sample to debug it, that would be useful.
Rick On Thu, May 14, 2009 at 4:37 PM, James Johnson <j...@iland.net> wrote: > Rony G. Flatscher wrote: >> James, >> >> please lookup "rexxpg.pdf", chapter 9, Rexx C++ Application Programming >> Interfaces. >> >> There you will find the C++ APIs documented, and among the documentation >> you will find the new options and there the option named >> "DIRECT_ENVIRONMENTS" which supplies a context for the purpose you need. >> Chapter 9.13, Command Handler Interface, gives an example. >> >> Instead of RexxStart() you would use RexxCreateInterpreter() and from a >> thread context something like "CallProgram(...)". The new type handler >> then will have the variable context available to it. >> >> Therefore I think that no changes to the ooRexx 4.0 APIs are necessary >> to accomodate to your needs. >> >> HTH, >> >> ---rony >> > Using the new APIs solved all of my problems. > > I have noticed one little annoyance though. When I create the > interpreter instance I specify > the option "EXTERNAL_CALL_EXTENSIONS". This works fine for the initial > program executed > and the programs that it calls. However, when I do an "AttachThread" and > then a "CallProgram" on > the new thread, the program name must have the extension. It looks like > the "EXTERNAL_CALL_EXTENSIONS" are not carried forward to the new thread. > > Is this by design or a bug? > > Thanks > > James Johnson > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel