Hi Folks
I need to link to a dll which controls hardware. The dll cannot be linked as an extension and so I cannot use the action editor.
However, I can link and "operate" the dll using openscript:
Linking:
to handle buttonclick
linkDLL "dgb.dll"
--Declare the functions function that are to be used
INT InitDgb() -- Boolean
INT SetOutputs(int) -- Boolean
INT ReadInputs(int) -- Boolean
end
get initDgb()
end
Operation (setting the hardware)
to handle buttonclick
get SetOutputs(7) -- Boolean
text of field "errorCheck" = it
forward
end
The dll cannot be changed so the solution seems to be to create a linking application that calls and controls the dll but is itself an active X control which can be linked to Toolbook as an extension.
Can anyone help us create such an application? The application and dll will be installed on the appropriate PC, so there should be no security issues.
All the best
John Henn
I thing we can help you.
We can create custom ActiveX, that will call Win32 DLL.
If you would be interested, contact me off list.
Miroslav
Miroslav Kn�pek
MultiMedia SoftWare
www.MultiMedia-SoftWare.cz
kna...@mmsw.cz
----- P�vodn� zpr�va -----
Od: "John Henn IPresent" <j.h...@IPRESENT.CO.UK>
Komu: <tool...@LISTSERV.PLATTECANYON.COM>
Odesl�no: 18. listopadu 2009 10:16
P�edm�t: Connecting dll in dhtml