Scripting and external dll
Posted: 26 Dec 2018, 20:39
Hi me again
is it possible to interact with an external dll from the script language - the reason I ask is I would like to control my Hitecastro power hub - specifically the dew heaters from astroart scripting - I have done a little research but it is 5 years since I did any serious programming with windows and com etc so forgive my simple questions.
Hitecastro supply a dll and quote
Using mhpCOM.
mhpCOM can be used with any programming or scripting language which
supports COM interop. Examples are the .net languages from Microsoft. Visual
Basic.net, Visual C# .net and Visual C++ can be downloaded freely from the
Microsoft Visual Studio Express site. Many other languages and tools will also
be eminently suitable. Scripting languages such as VBScript or JavaScript can
also leverage the functionality of mhpCOM.
an example use from vbscript would be
Dim mhp
Set mhp = CreateObject(“mhpCOM.mhpCOM”)
or
Dim mhp
Set mhp = CreateObject(“mhpCOM.mhpCOM”)
mhp.Heater 3, 75
My question is
Is this easy from astroart scripting?
If not what do I need to get into to achieve this?
Any other question that I cant think of due to my ignorance!?
many thanks
Keith
is it possible to interact with an external dll from the script language - the reason I ask is I would like to control my Hitecastro power hub - specifically the dew heaters from astroart scripting - I have done a little research but it is 5 years since I did any serious programming with windows and com etc so forgive my simple questions.
Hitecastro supply a dll and quote
Using mhpCOM.
mhpCOM can be used with any programming or scripting language which
supports COM interop. Examples are the .net languages from Microsoft. Visual
Basic.net, Visual C# .net and Visual C++ can be downloaded freely from the
Microsoft Visual Studio Express site. Many other languages and tools will also
be eminently suitable. Scripting languages such as VBScript or JavaScript can
also leverage the functionality of mhpCOM.
an example use from vbscript would be
Dim mhp
Set mhp = CreateObject(“mhpCOM.mhpCOM”)
or
Dim mhp
Set mhp = CreateObject(“mhpCOM.mhpCOM”)
mhp.Heater 3, 75
My question is
Is this easy from astroart scripting?
If not what do I need to get into to achieve this?
Any other question that I cant think of due to my ignorance!?
many thanks
Keith