To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42726
                  Issue #:|42726
                  Summary:|automation bridge / getValue() runtime error
                Component:|api
                  Version:|OOo 1.1.3
                 Platform:|PC
                      URL:|
               OS/Version:|Windows 2000
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|sw
              Reported by:|tobym





------- Additional comments from [EMAIL PROTECTED] Mon Feb 14 04:50:00 -0800 
2005 -------
Hi,

I'm on a Win2k/PC plattform and trying to use the OleObjectFactory stuff to
communicate with a RS-232 / serial communication 32bit ActiveX control
(freeware: RSComm 1.0.2, 
http://www.elprogramari.com/English/Download/RSComm.zip).

Using this code snippet:

   oOleObjFac = createUnoService( "com.sun.star.bridge.OleObjectFactory" )
   RSCServer = oOleObjFac.createInstance( "RSCOMM.RSCommCtrl" )
   Print RSCServer.BaudRate

I'm getting the following error message:

BASIC runtime error.
An exception occured
Type: Unknown
Message:[automation bridge]unexpected exception in 
IUnknownWrapper_Impl::getValue!
Message:
.

The RSComm control supports IUnknown and IDispatch.
There seems to be no issue with createUnoService and
createInstance. BaudRate is a known property, because otherwise 
I would get a "property or method not found" BASIC runtime error.

According to the RSComm documentation, BaudeRate is defined as follows:

Declaration:
long BaudRate()
void BaudRate(long lBauds)

Doing something like
RSCServer.BaudRate = 9600
I receive an "[automation bridge] unexpected exception in
IUnknownWrapper_Impl::setValue" error.

Any ideas ?
Regards,
Toby

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to