Jon,

I haven't looked very closely at this, but you need to use the same
name throughout.

> +   INTERNAL_METHOD(rexx_erase_queue)

> +RexxMethod0(int, rexx_clear_queue)

> +::METHOD empty           EXTERNAL 'LIBRARY REXX rexx_clear_queue'

You can not define the name as rexx_erase_queue in one place and then
expect rexx_clear_queue to be understood in another place.

--
Mark Miesfeld


On Tue, Aug 19, 2008 at 12:16 AM, Sahananda (Jon) Wolfers
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> well I am obviously doing something wrong, or there is more that I need to
> know.
> As I delete the entire win32dbg directory each time, internalpackage.obj
> will get recreated.
>
> These are the changes I have made to base:
>
> --- C:\DOCUME~1\saha\LOCALS~1\Temp\NativeMethods.h-revBASE.svn000.tmp.h
> Tue Aug 19 06:54:40 2008
> +++ D:\orxSVN\main\trunk\interpreter\runtime\NativeMethods.h    Mon Aug 18
> 15:04:47 2008
> @@ -76,3 +76,4 @@
>     INTERNAL_METHOD(rexx_queue_queue)
>     INTERNAL_METHOD(rexx_pull_queue)
>     INTERNAL_METHOD(rexx_linein_queue)
> +   INTERNAL_METHOD(rexx_erase_queue)
>
> ---
> C:\DOCUME~1\saha\LOCALS~1\Temp\RexxQueueMethods.cpp-revBASE.svn000.tmp.cpp
> Tue Aug 19 06:49:24 2008
> +++ D:\orxSVN\main\trunk\interpreter\classes\RexxQueueMethods.cpp    Tue Aug
> 19 05:12:52 2008
> @@ -201,3 +201,13 @@
>    return RexxDeleteQueue(queue_name);
>  }
>
> +/********************************************************************************************/
> +/*
> Rexx_clear_queue
> */
> +/********************************************************************************************/
> +RexxMethod0(int, rexx_clear_queue)
> +{
> +                                       /* get the queue name
> */
> +  RexxObjectPtr queue_name = context->GetObjectVariable("NAMED_QUEUE");
> +                                       /* Clear the queue
> */
> +  return RexxClearQueue(context->ObjectToStringValue(queue_name));
> +}
>
> ---
> C:\DOCUME~1\saha\LOCALS~1\Temp\StreamClasses.orx-revBASE.svn000.tmp.orx
> Tue Aug 19 06:53:50 2008
> +++ D:\orxSVN\main\trunk\interpreter\RexxClasses\StreamClasses.orx    Tue
> Aug 19 05:13:37 2008
> @@ -474,8 +474,23 @@
>  ::METHOD say
>    forward message 'QUEUE'
>
> +::METHOD makearray
> +  qItems = self~queued
> +  arr = .array~new(qItems)
> +  do i = 1 to qItems
> +     line = self~pull
> +     if .nil = line /* items have been removed by another thread or process
> */
> +     then do
> +        arr = arr~section(1, i - 1)
> +        leave
> +     end /* DO */
> +     arr[i]=line
> +  end /* DO */
> +  return arr
> +
>  ::METHOD push            EXTERNAL 'LIBRARY REXX rexx_push_queue'
>  ::METHOD queue           EXTERNAL 'LIBRARY REXX rexx_queue_queue'
>  ::METHOD pull            EXTERNAL 'LIBRARY REXX rexx_pull_queue'
>  ::METHOD linein          EXTERNAL 'LIBRARY REXX rexx_linein_queue'
> -::METHOD queued          EXTERNAL 'LIBRARY REXX rexx_query_queue'
> \ No newline at end of file
> +::METHOD queued          EXTERNAL 'LIBRARY REXX rexx_query_queue'
> +::METHOD empty           EXTERNAL 'LIBRARY REXX rexx_clear_queue'
>
> And here is the error I still get when I build:
>
> ResourceCompiling D:\orxSVN\main\trunk\Win32Dbg\winmsgtb.res
>      rc /DWIN32 -dOOREXX_VER=4 -dOOREXX_REL=0 -dOOREXX_SUB=0
> -dOOREXX_BLD=3014 -dOOREXX_VER_STR=\""4.0.0.3014"\"
> -dOOREXX_COPY_YEAR=\""2005-2008"\" -dMANIFEST_FILE="rexx32.exe.manifest"
> -ID:\orxSVN\main\trunk\interpreter\messages -r
> -foD:\orxSVN\main\trunk\Win32Dbg\winmsgtb.res
> D:\orxSVN\main\trunk\interpreter\platform\windows\winmsgtb.rc
>     type D:\orxSVN\main\trunk\Win32Dbg\oryxk.lst
>    D:\orxSVN\main\trunk\Win32Dbg\Version.obj
> D:\orxSVN\main\trunk\Win32Dbg\Utilities.obj
> D:\orxSVN\main\trunk\Win32Dbg\Setup.obj
> D:\orxSVN\main\trunk\Win32Dbg\InstructionParser.obj
> D:\orxSVN\main\trunk\Win32Dbg\Scanner.obj
> D:\orxSVN\main\trunk\Win32Dbg\GlobalData.obj
> D:\orxSVN\main\trunk\Win32Dbg\GlobalNames.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxEnvelope.obj
> D:\orxSVN\main\trunk\Win32Dbg\ArrayClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxMisc.obj
> D:\orxSVN\main\trunk\Win32Dbg\ClassClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\DeadObject.obj
> D:\orxSVN\main\trunk\Win32Dbg\PointerClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\WeakReferenceClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\DirectoryClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\MethodClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\RoutineClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\PackageClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\ContextClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\ListClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxMemory.obj
> D:\orxSVN\main\trunk\Win32Dbg\MemorySegment.obj
> D:\orxSVN\main\trunk\Win32Dbg\MemoryStats.obj
> D:\orxSVN\main\trunk\Win32Dbg\MessageClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\StemClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\ObjectClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxCompoundTail.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxCompoundElement.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxCompoundTable.obj
> D:\orxSVN\main\trunk\Win32Dbg\QueueClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\SupplierClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxQueueMethods.obj
> D:\orxSVN\main\trunk\Win32Dbg\RelationClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\TableClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\PrimitiveBehaviours.obj
> D:\orxSVN\main\trunk\Win32Dbg\VirtualFunctionTable.obj
> D:\orxSVN\main\trunk\Win32Dbg\IntegerClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\NumberStringClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxActivation.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxActivity.obj
> D:\orxSVN\main\trunk\Win32Dbg\KeywordConstants.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxBehaviour.obj
> D:\orxSVN\main\trunk\Win32Dbg\BufferClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\ActivityManager.obj
> D:\orxSVN\main\trunk\Win32Dbg\Interpreter.obj
> D:\orxSVN\main\trunk\Win32Dbg\SystemInterpreter.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxStartDispatcher.obj
> D:\orxSVN\main\trunk\Win32Dbg\InterpreterInstance.obj
> D:\orxSVN\main\trunk\Win32Dbg\ActivityDispatcher.obj
> D:\orxSVN\main\trunk\Win32Dbg\TranslateDispatcher.obj
> D:\orxSVN\main\trunk\Win32Dbg\CallbackDispatcher.obj
> D:\orxSVN\main\trunk\Win32Dbg\SecurityManager.obj
> D:\orxSVN\main\trunk\Win32Dbg\MessageDispatcher.obj
> D:\orxSVN\main\trunk\Win32Dbg\SysInterpreterInstance.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxHashTable.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxCode.obj
> D:\orxSVN\main\trunk\Win32Dbg\PackageManager.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxListTable.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxNativeActivation.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxNativeCode.obj
> D:\orxSVN\main\trunk\Win32Dbg\CPPCode.obj
> D:\orxSVN\main\trunk\Win32Dbg\LibraryPackage.obj
> D:\orxSVN\main\trunk\Win32Dbg\InternalPackage.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxCollection.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxSmartBuffer.obj
> D:\orxSVN\main\trunk\Win32Dbg\StackClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxVariable.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxVariableDictionary.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxDateTime.obj
> D:\orxSVN\main\trunk\Win32Dbg\Numerics.obj
> D:\orxSVN\main\trunk\Win32Dbg\CallContextStubs.obj
> D:\orxSVN\main\trunk\Win32Dbg\InterpreterAPI.obj
> D:\orxSVN\main\trunk\Win32Dbg\InterpreterInstanceStubs.obj
> D:\orxSVN\main\trunk\Win32Dbg\MethodContextStubs.obj
> D:\orxSVN\main\trunk\Win32Dbg\ThreadContextStubs.obj
> D:\orxSVN\main\trunk\Win32Dbg\StringClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\StringClassUtil.obj
> D:\orxSVN\main\trunk\Win32Dbg\StringClassSub.obj
> D:\orxSVN\main\trunk\Win32Dbg\StringClassWord.obj
> D:\orxSVN\main\trunk\Win32Dbg\StringClassMisc.obj
> D:\orxSVN\main\trunk\Win32Dbg\StringClassBit.obj
> D:\orxSVN\main\trunk\Win32Dbg\StringClassConversion.obj
> D:\orxSVN\main\trunk\Win32Dbg\MutableBufferClass.obj
> D:\orxSVN\main\trunk\Win32Dbg\StringUtil.obj
> D:\orxSVN\main\trunk\Win32Dbg\NumberStringMath.obj
> D:\orxSVN\main\trunk\Win32Dbg\NumberStringMath2.obj
> D:\orxSVN\main\trunk\Win32Dbg\BuiltinFunctions.obj
> D:\orxSVN\main\trunk\Win32Dbg\DoBlock.obj
> D:\orxSVN\main\trunk\Win32Dbg\Clause.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\CommonExternalFunctions.obj
> D:\orxSVN\main\trunk\Win32Dbg\SourceFile.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExpressionStack.obj
> D:\orxSVN\main\trunk\Win32Dbg\Token.obj
> D:\orxSVN\main\trunk\Win32Dbg\AddressInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\AssignmentInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\CallInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\CommandInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\DoInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\DropInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\ElseInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\EndInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\EndIf.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExitInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExposeInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\ForwardInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\GuardInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\IfInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\InterpretInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\LabelInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\LeaveInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\MessageInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\NopInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\NumericInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\OptionsInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\OtherwiseInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\ParseInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\ProcedureInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\QueueInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\RaiseInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\RequiresDirective.obj
> D:\orxSVN\main\trunk\Win32Dbg\LibraryDirective.obj
> D:\orxSVN\main\trunk\Win32Dbg\ClassDirective.obj
> D:\orxSVN\main\trunk\Win32Dbg\ReplyInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\ReturnInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\SayInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\SelectInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\SignalInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\ThenInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\TraceInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\UseStrictInstruction.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExpressionCompoundVariable.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExpressionDotVariable.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExpressionFunction.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExpressionMessage.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExpressionLogical.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExpressionStem.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExpressionVariable.obj
> D:\orxSVN\main\trunk\Win32Dbg\IndirectVariableReference.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExpressionOperator.obj
> D:\orxSVN\main\trunk\Win32Dbg\ParseTarget.obj
> D:\orxSVN\main\trunk\Win32Dbg\ParseTrigger.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxInternalStack.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxLocalVariables.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxActivationStack.obj
> D:\orxSVN\main\trunk\Win32Dbg\ProtectedObject.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExitHandler.obj
> D:\orxSVN\main\trunk\Win32Dbg\TimeSupport.obj
> D:\orxSVN\main\trunk\Win32Dbg\FileSystem.obj
> D:\orxSVN\main\trunk\Win32Dbg\ValueFunction.obj
> D:\orxSVN\main\trunk\Win32Dbg\UseridFunction.obj
> D:\orxSVN\main\trunk\Win32Dbg\ExternalFunctions.obj
> D:\orxSVN\main\trunk\Win32Dbg\RexxMain.obj
> D:\orxSVN\main\trunk\Win32Dbg\SystemCommands.obj
> D:\orxSVN\main\trunk\Win32Dbg\StreamNative.obj
> D:\orxSVN\main\trunk\Win32Dbg\StreamCommandParser.obj
> D:\orxSVN\main\trunk\Win32Dbg\ProgramMetaData.obj
> D:\orxSVN\main\trunk\Win32Dbg\SysFile.obj
> D:\orxSVN\main\trunk\Win32Dbg\SysFileSystem.obj
> D:\orxSVN\main\trunk\Win32Dbg\SysLibrary.obj
> D:\orxSVN\main\trunk\Win32Dbg\SysActivity.obj
> D:\orxSVN\main\trunk\Win32Dbg\SysSemaphore.obj
> D:\orxSVN\main\trunk\Win32Dbg\MemorySupport.obj
> D:\orxSVN\main\trunk\Win32Dbg\MiscSystem.obj
> D:\orxSVN\main\trunk\Win32Dbg\SystemInitialization.obj
> D:\orxSVN\main\trunk\Win32Dbg\ErrorMessages.obj
>     link /MAP /NOLOGO /PROFILE /DEBUG -debugtype:cv /SUBSYSTEM:Windows
> user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib delayimp.lib
> ole32.lib oleaut32.lib uuid.lib shell32.lib kernel32.lib /DLL
> -out:D:\orxSVN\main\trunk\Win32Dbg\rexx.dll
> @D:\orxSVN\main\trunk\Win32Dbg\oryxk.lst
> D:\orxSVN\main\trunk\Win32Dbg\winmsgtb.res
> D:\orxSVN\main\trunk\Win32Dbg\rexx.exp
> D:\orxSVN\main\trunk\Win32Dbg\rexxapi.lib
> InternalPackage.obj : error LNK2001: unresolved external symbol
> [EMAIL PROTECTED]
> D:\orxSVN\main\trunk\Win32Dbg\rexx.dll : fatal error LNK1120: 1 unresolved
> externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.
>
> I am at revision 2940.
>
> I'm wondering Rick, whether you committed the change you made when you wrote
>
> Note that in 4.0, the clear method (probably should be "empty" to be
> consistent with the other collection classes) would be best
> implemented by C code using the RexxClearQueue() API I just added.
>
> or perhaps for some reason I'm not picking it up.  I right click on the main
> node and select SVN update and it chugs away modifying files.
>
> Jon
>
>
> 2008/8/18 Rick McGuire <[EMAIL PROTECTED]>
>>
>> On Mon, Aug 18, 2008 at 2:41 PM, Sahananda (Jon) Wolfers
>> <[EMAIL PROTECTED]> wrote:
>> > Thanks Rick,
>> >
>> > I'm not sure I understand that instruction.
>> > The only internalpackage.cpp I have is in
>> > main\trunk\interpreter\runtime.
>> > If I don't delete it I get
>> >
>> >     link /MAP /NOLOGO /PROFILE /DEBUG -debugtype:cv /SUBSYSTEM:Windows
>> > user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib delayimp.lib
>> > ole32.lib oleaut32.lib uuid.lib shell32.lib kernel32.lib /DLL
>> > -entry:[EMAIL PROTECTED]
>> >  -out:D:\orxSVN\main\trunk\Win32Dbg\rexx.dll
>> > @D:\orxSVN\main\trunk\Win32Dbg\oryxk.lst
>> > D:\orxSVN\main\trunk\Win32Dbg\winmsgtb.res
>> > D:\orxSVN\main\trunk\Win32Dbg\rexx.exp
>> > D:\orxSVN\main\trunk\Win32Dbg\rexxapi.lib
>> > InternalPackage.obj : error LNK2001: unresolved external symbol
>> > [EMAIL PROTECTED]
>> > D:\orxSVN\main\trunk\Win32Dbg\rexx.dll : fatal error LNK1120: 1
>> > unresolved
>> > externals
>> > NMAKE : fatal error U1077: 'link' : return code '0x460'
>> > Stop.
>> >
>> > If I rename it internalpackageold.cpp then I get this error instead:
>> >
>> > Compiling D:\orxSVN\main\trunk\interpreter\package\LibraryPackage.cpp
>> >     cl  /EHsc /nologo /D:_X86_ /DWIN32 -DORX_VER=4 -DORX_REL=0
>> > -DORX_MOD=0
>> > -DOOREXX_BLD=2979 -DOOREXX_COPY_YEAR=\""2005-2008"\" /W3 /Wp64
>> > /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -c -Zi /Od /Gr
>> > /D_DEBUG /DEBUGTYPE:CV   /DNULL=0 /MTd
>> > /FoD:\orxSVN\main\trunk\Win32Dbg\LibraryPackage.obj
>> > /TpD:\orxSVN\main\trunk\interpreter\package\LibraryPackage.cpp
>> > -ID:\orxSVN\main\trunk\lib\ -ID:\orxSVN\main\trunk\common\
>> > -ID:\orxSVN\main\trunk\common\platform\windows\
>> > -ID:\orxSVN\main\trunk\api\
>> > -ID:\orxSVN\main\trunk\api\platform\windows\
>> > -ID:\orxSVN\main\trunk\interpreter\
>> > -ID:\orxSVN\main\trunk\interpreter\classes\
>> > -ID:\orxSVN\main\trunk\interpreter\classes\support\
>> > -ID:\orxSVN\main\trunk\interpreter\runtime\
>> > -ID:\orxSVN\main\trunk\interpreter\behaviour\
>> > -ID:\orxSVN\main\trunk\interpreter\concurrency\
>> > -ID:\orxSVN\main\trunk\interpreter\execution\
>> > -ID:\orxSVN\main\trunk\interpreter\memory\
>> > -ID:\orxSVN\main\trunk\interpreter\package\
>> > -ID:\orxSVN\main\trunk\interpreter\expression\
>> > -ID:\orxSVN\main\trunk\interpreter\instructions\
>> > -ID:\orxSVN\main\trunk\interpreter\parser\
>> > -ID:\orxSVN\main\trunk\interpreter\platform\windows\
>> > -ID:\orxSVN\main\trunk\interpreter\streamLibrary\
>> > -ID:\orxSVN\main\trunk\interpreter\messages\
>> > -ID:\orxSVN\main\trunk\platform\windows\
>> > -ID:\orxSVN\main\trunk\rexutils\windows
>> > -ID:\orxSVN\main\trunk\extensions\platform\windows\oodialog\ -I\
>> > -ID:\orxSVN\main\trunk\extensions\platform\windows\ole\
>> > -ID:\orxSVN\main\trunk\extensions\platform\windows\orxscrpt\
>> > -ID:\orxSVN\main\trunk\interpreter\messages\
>> > LibraryPackage.cpp
>> > NMAKE : fatal error U1073: don't know how to make
>> > 'D:\orxSVN\main\trunk\Win32Dbg\InternalPackage.obj'
>> > Stop.
>> >
>> > I am completely deleting the win32dbg folder each time I build as per
>> > someones instructions.
>> Jon, completely deleting the win32dbg folder will work too. I messed
>> up my previous response.  The file to delete was InternalPackage.OBJ,
>> not CPP.  The CPP file compiles to the .OBJ, and the makefile checks
>> to see if the file exists and is older than the source to decide if it
>> needs recompiling.  Deleting just that OBJ file will allow you to
>> rebuild without having to recompile everything.
>>
>>
>> >
>> > If it's up to Rick to answer, well there is no hurry.  I want you to
>> > have a
>> > good time on vacation,
>> > and I expect you to post pictures!
>>
>> Not sure I'm going to have any real pictures to post....not really
>> that kind of vacation.  I did drive 1300 miles on Saturday/Sunday, but
>> there's not too much picture worthy stuff between Connecticut and
>> Omaha, unless you're a fan of cornfields :-)
>>
>> I'm having a relaxing vaction today by working on ooRexx code (Ok, I
>> maybe I need some professional help :-) )
>>
>> Rick
>>
>> >
>> > Jon
>> >
>> >
>> > 2008/8/17 Rick McGuire <[EMAIL PROTECTED]>
>> >>
>> >> Hi Jon,
>> >>
>> >> My hotel has a WiFi connection, so I was able to check email this
>> >> morning.  Your guess was right, adding that INTERNAL_METHOD call is
>> >> the missing piece needed to make that work.
>> >>
>> >> You'll need to force the module InternalPackage.cpp to recompile.
>> >> Just erasing Win32XXX\InternalPackage.cpp and rebuilding should pick
>> >> that up for you.
>> >>
>> >> Rick
>> >>
>> >> On Sun, Aug 17, 2008 at 3:02 AM, Sahananda (Jon) Wolfers
>> >> <[EMAIL PROTECTED]> wrote:
>> >> > Hi,
>> >> >
>> >> > I am in trouble again.  I added Rick's code (as below) to
>> >> > main\trunk\interpreter\classes\RexxQueueMethods.cpp at the end where
>> >> > it
>> >> > seems to belong and added the call to it to the rexxQueue methods in
>> >> > main\trunk\interpreter\RexxClasses\streamClasses.orx.
>> >> >
>> >> > I've updated the SVN branch at trunk.  When I try to build I get the
>> >> > following error:
>> >> >
>> >> > ...
>> >> > creating the system specific methods ...
>> >> > Adding setlike methods to RELATION
>> >> > creating .!server and defining its instance methods
>> >> >    496 *-* ::METHOD empty           EXTERNAL 'LIBRARY REXX
>> >> > rexx_clear_queue'
>> >> >    134 *-* call 'StreamClasses.orx'
>> >> > Error 90 running D:\orxSVN\main\trunk\Win32Dbg\StreamClasses.orx line
>> >> > 496:
>> >> > External name not found
>> >> > Error 90.998:  Unable to find external method "rexx_clear_queue"
>> >> > Logic error: Error building kernel image.  Image not saved.
>> >> >
>> >> > I cannot see any obvious clues to what could be wrong, except
>> >> > possibly
>> >> > that
>> >> > Rick's C++ code calls RexxMethod0 where the other calls are all to
>> >> > RexxMethod1
>> >> >
>> >> > This isn't urgent enough to disturb Rick's vacation, but if anyone
>> >> > else
>> >> > can
>> >> > see anything obviously wrong in what I've done, please let me know.
>> >> >
>> >> > thanks, Jon
>> >> >
>> >> > 2008/8/11 Rick McGuire <[EMAIL PROTECTED]>
>> >> >>
>> >> >> John,
>> >> >>
>> >> >> Note that in 4.0, the clear method (probably should be "empty" to be
>> >> >> consistent with the other collection classes) would be best
>> >> >> implemented by C code using the RexxClearQueue() API I just added.
>> >> >> The file in question is interpreter/classes/RexxQueueMethods.cpp.
>> >> >>  The
>> >> >> code would be basically this:
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> /********************************************************************************************/
>> >> >> /* Rexx_clear_queue
>> >> >>                    */
>> >> >>
>> >> >>
>> >> >>
>> >> >> /********************************************************************************************/
>> >> >> RexxMethod0(int, rexx_clear_queue)
>> >> >> {
>> >> >>
>> >> >>                                      /* get the queue name
>> >> >>  */
>> >> >>   RexxObjectPtr queue_name =
>> >> >> context->GetObjectVariable("NAMED_QUEUE");
>> >> >>                                          /* pull a line
>> >> >>        */
>> >> >>   return RexxClearQueue(context->ObjectToStringValue(queue_name));
>> >> >> }
>> >> >>
>> >> >> You should be able to add that at the end of the
>> >> >> RexxQueueMethods.cpp
>> >> >> file, then in the RexxQueue ooRexx code, you reference that using:
>> >> >>
>> >> >> ::METHOD empty         EXTERNAL 'LIBRARY REXX rexx_clear_queue'
>> >> >>
>> >> >> Rick
>> >> >>
>> >> >>
>> >> >> On Mon, Aug 11, 2008 at 1:58 AM, Sahananda (Jon) Wolfers
>> >> >> <[EMAIL PROTECTED]> wrote:
>> >> >> > I could take on the rfe's for the RexxQueue class.  Although the
>> >> >> > base
>> >> >> > methods are written in C++ it looks like I could add MareArray and
>> >> >> > Clear
>> >> >> > in
>> >> >> > Rexx in STreamClasses.orx.
>> >> >> >
>> >> >> > Only drawback is that I don't know what a Rexx External Queue is.
>> >> >> >
>> >> >> > I understand Queues (ie: the Queue Collection class) and from my
>> >> >> > VM
>> >> >> > days
>> >> >> > I
>> >> >> > understand 'The Stack' which I use in oorexx by piping output to
>> >> >> > RxQueue
>> >> >> > and
>> >> >> > retrieve using parse pull.
>> >> >> >
>> >> >> > I've looked in the manuals and googled a bit.  Can anyone give me
>> >> >> > a
>> >> >> > short
>> >> >> > easy code sample using the RexxQueue class please.
>> >> >> >
>> >> >> > thanks,
>> >> >> >
>> >> >> > Jon
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > -------------------------------------------------------------------------
>> >> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's
>> >> >> > challenge
>> >> >> > Build the coolest Linux based applications with Moblin SDK & win
>> >> >> > great
>> >> >> > prizes
>> >> >> > Grand prize is a trip for two to an Open Source event anywhere in
>> >> >> > the
>> >> >> > world
>> >> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> >> >> > _______________________________________________
>> >> >> > Oorexx-devel mailing list
>> >> >> > Oorexx-devel@lists.sourceforge.net
>> >> >> > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> -------------------------------------------------------------------------
>> >> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> >> >> challenge
>> >> >> Build the coolest Linux based applications with Moblin SDK & win
>> >> >> great
>> >> >> prizes
>> >> >> Grand prize is a trip for two to an Open Source event anywhere in
>> >> >> the
>> >> >> world
>> >> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> >> >> _______________________________________________
>> >> >> Oorexx-devel mailing list
>> >> >> Oorexx-devel@lists.sourceforge.net
>> >> >> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > -------------------------------------------------------------------------
>> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's
>> >> > challenge
>> >> > Build the coolest Linux based applications with Moblin SDK & win
>> >> > great
>> >> > prizes
>> >> > Grand prize is a trip for two to an Open Source event anywhere in the
>> >> > world
>> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> >> > _______________________________________________
>> >> > Oorexx-devel mailing list
>> >> > Oorexx-devel@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>> >> >
>> >> >
>> >>
>> >>
>> >> -------------------------------------------------------------------------
>> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> >> challenge
>> >> Build the coolest Linux based applications with Moblin SDK & win great
>> >> prizes
>> >> Grand prize is a trip for two to an Open Source event anywhere in the
>> >> world
>> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> >> _______________________________________________
>> >> Oorexx-devel mailing list
>> >> Oorexx-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>> >
>> >
>> >
>> > -------------------------------------------------------------------------
>> > This SF.Net email is sponsored by the Moblin Your Move Developer's
>> > challenge
>> > Build the coolest Linux based applications with Moblin SDK & win great
>> > prizes
>> > Grand prize is a trip for two to an Open Source event anywhere in the
>> > world
>> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> > _______________________________________________
>> > Oorexx-devel mailing list
>> > Oorexx-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>> >
>> >
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to