Soronel,
I mis-spoke in my note below. I did indeed see the lib file in my project
as I did in yours. So that was not the problem.
I compared both projects and can't figure out the difference. I seem to
have all of the same classes and the IDL file looks similar. Maybe there
was some other setting that you made when creating or configuring the
project that I missed?
As I said, when I added the class to interface to JAWS, I did create it as a
dual dispatch and set the project to compile as X64.
Something is still missing and I don't know where to look.
I replaced your line of code that creates the object in the JAWS script with
mine:
var object testObj = CreateObject ("SimpleDLL.MyFuncts" )
where SimpleDLL is my project name and MyFuncts is the class I added to
connect to JAWS.
Here is the IDL file. As you can see it references MyFuncts and seems to
have been created as a dual dispatch object. Does this tell you anything
about what is wrong with my project?
// SimpleDLL.idl : IDL source for SimpleDLL
//
// This file will be processed by the MIDL tool to
// produce the type library (SimpleDLL.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(BD648E9E-8417-4D91-AE4C-CF4825BCC7A8),
dual,
nonextensible,
pointer_default(unique)
]
interface IMyFuncts : IDispatch{
};
[
uuid(FD9DD04D-0104-4D2E-94A9-8610EA8FDEBA),
version(1.0),
]
library SimpleDLLLib
{
importlib("stdole2.tlb");
[
uuid(88306E73-DEAB-438C-9041-6E40EEC33F17)
]
coclass MyFuncts
{
[default] interface IMyFuncts;
};
};
From: Peter Torpey [mailto:ptorpey00@xxxxxxxxx]
Sent: Sunday, July 19, 2015 9:47 PM
To: 'jawsscripts@xxxxxxxxxxxxx'
Subject: Making progress on connecting JAWS to DLL but...
Okay, the project that Soroneel sent me works fine and I can connect to JAWS
scripts.
However, when I repeat the preprocess he describes from scratch, I am not
able to connect to my object with JAWS.
I am using the dual dispatch objects in an ATL class and I am using an X64
bit compile as suggested.
One difference I see in the project that I built vs. the one that Soroneel
sent me was that his project has an ATLTestLib class in the project. My
project did not generate such a lib class when I generated it.
There must still be some configuration setting different or something else
that I must add to the project.
Any advice?
Thanks.
--Pete
__________�
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts