Will do - First I need to do some research about the iDispatch class and how
it can be integrated into a project and then how JAWS can reference objects
within the DLL.
Thanks to others for some useful pointers.
--Pete
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jim Snowbarger
Sent: Tuesday, July 14, 2015 7:13 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Creating a Com Object in JAWS scripts
Pete,
If you get this solved, be sure to fill us in on it. Thanks.
Jim
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Peter Torpey
Sent: Tuesday, July 14, 2015 12:46 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Creating a Com Object in JAWS scripts
I created a DLL using Visual Studio and would like to connect objects in the
DLL in my JAWS scripts.
I am not seeing the object in JAWS and wonder if anyone has any pointers.
Here is what I did:
1. Compiled test.DLL and made sure the manifest was embedded in the
DLL (in the Visual Studio Properties dialog).
2. Registered the DLL in Windows using:
regsvr32 (full path to DLL)
The return said that the DLL was properly registerd.
3. In my JAWS scripts I have the lines:
var object o = CreateObjectEx( "ObjectName", false, "test.dll" )
Besides the fact that I am unable to access any of the methods of the DLL
from within JAWS, I have a test like:
If !o then
SayString( "object was not created";
EndIf
That verifies that the object was not created.
What am I doing wrong here? Is there something I'm missing in the call to
CreateObjectEx or how one should set the properties inside VS to get this to
work?
Thanks.
--Pete
__________�
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts
__________�
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts
__________�
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts