quote:
Originally posted by Huhu_Manix
Thanks but i tried what baggins gave me, it's exactly what i needed.
it works, but it is not what you need.
If you already included the Windows scripting engine so your applications acts as the host* , it is only a few steps away (relativly spoken) to make your own function and methods. You don't need to depend on a dodgy ActiveX wrapper for that.
*(and I hope you did and you do not do some dodgy thing as in pushing a text file to the scripting runtime with a call like Shell or whatever. As that would also mean your application has no scripting capabilities at all and isn't a host at all, you just take some script file and run it outside your application)
quote:
Originally posted by Baggins
Oh, i belive this is not possible because all variables in JScript are variants and it would not work with the arguments being of different,
That isn't the reason. If it was, then it would also be impossible for Plus! to add this to the scripting engine... The reason is simply because such an instruction is not included nativly (unfortunatly, but understandable).
quote:
Originally posted by Baggins
however, you can get a dynamic wrapper (ActiveX) .dll which takes the variants and passes them onto the requested function in the correct type.
i will update this when i find it
dnwrap.dll + readme.txt
Please, never attach files and other programs like that to posts. Always link to the original download pages for obvious reasons:
- updates
- important info
- untampered with packages
- original code
- etc...
The original Dynawrap.dll... is available from here:
http://cwashington.netreach.net/main/tools/default.asp?topic=a-m