[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments |
Date: |
Sat, 15 Jul 2017 06:09:26 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 |
URL:
<http://savannah.gnu.org/bugs/?51470>
Summary: OF-windows: COM objects do not accept method
arguments
Project: GNU Octave
Submitted by: philipnienhuis
Submitted on: Sat 15 Jul 2017 12:09:25 PM CEST
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name: Philip Nienhuis
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Microsoft Windows
_______________________________________________________
Details:
I'm a little afraid this is another manifestation of bug #51152
COM objects (ActiveX objects) do not accept arguments, sometimes not even
parentheses enclosing the argument(s).
I hit this when investigating io package problems while invoking Excel through
ActiveX. If needed I can show how to reproduce the bug with LibreOffice, but
then I'd need to search & undig some old scripts. But the bug can simply be
demonstrated with Notepad.exe as well.
Steps to reproduce:
* install and load windows package
* then:
>> app = actxserver ("WScript.Shell")
app =
<COM object IWshShell3 (0x0x11def570)>
>> app.run ("NOTEPAD.EXE", 3)
error: com_get: property/method invocation on the COM object failed with error
`0x80020003'
Expected result (here with Octave-3.9.0+ I still had installed):
>> app = actxserver ("WScript.Shell")
app =
<COM object IWshShell3 (0x0x8861768)>
>> app.run ("NOTEPAD.EXE", 3)
ans = 0
(the latter hidden behind a full-screen Notepad window. Just use Alt-tab to
get to the Octave terminal)
To close the app object, do File | Exit in Notepad and in Octave just:
delete (app);
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51470>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments, John Donoghue, 2017/07/17
- [Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments, Philip Nienhuis, 2017/07/17
- [Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments, John Donoghue, 2017/07/17
- [Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments, John Donoghue, 2017/07/17
- [Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments, Philip Nienhuis, 2017/07/17
- [Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments, Philip Nienhuis, 2017/07/17
- [Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments, Philip Nienhuis, 2017/07/17
- [Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments, John Donoghue, 2017/07/17
- [Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments, John Donoghue, 2017/07/17
- [Octave-bug-tracker] [bug #51470] OF-windows: COM objects do not accept method arguments, Philip Nienhuis, 2017/07/17