Michael Goffioul wrote:
> On Wed, Jun 29, 2011 at 6:08 PM, Philip Nienhuis<pr.nienh...@hccnet.nl>  
> wrote:
>>> On Wed, Jun 29, 2011 at 5:18 PM, Michael Goffioul
>>> <michael.goffi...@gmail.com>    wrote:
>>>>
>>>> The java package uses the same system, so if it works for java object, it
>>>> should
>>>> logically also work for COM objects.
>>
>> Yes, I thought of that too, but:
>> (1) I saw no warnings about deprecated "dispatch" when installing the java
>> package.
>> (2) In the java pkg PKG_ADD
>> (...\lib\octave\packages\java-1.2.8\i686-pc-mingw32-api-v45+ there are no
>> dispatch statements at all, while there are many in the corresponding
>> windows-1.0.8 pkg PKG_ADD.
>> (3) In __java__.cc there's no "dispatch" text snippet to be found,
>> __COM__.cc is riddled with it (DISPATCH_METHOD etc). But I might be looking
>> in the wrong place.
>
> I took another look and I don't think the "dispatch" warning is
> related. The dispatch is/was
> used to change the implementation of standard octave functions when
> called with a COM
> object. For instance, calling get(obj, ...) would result in
> com_get(obj, ...) being called. The
> same for set, invoke, delete...
> OTOH the error you're seeing is a subsref problem, as used with syntax
> like obj.something.
> (Note also that the DISPATCH_METHOD and similar are related to Win32
> COM automation,
> it's different from the dispatch mechanism from octave).
>
> To debug, you'd need an octave version compiled with debug enabled.
> Then I guess the
> easiest would be to put a breakpoint on the error() function from
> octave (see error.cc)
> and dump a backtrace to see where it's coming from.

Understood.
I'm still a long way from being able to build even a "regular" Octave on 
MingW/Windows, so I'll just (have to) leave it for now.

Thanks,

Philip

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to