What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Solved] Call a DLL with javascript without Interop.Call

[Solved] Call a DLL with javascript without Interop.Call
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [Solved] Call a DLL with javascript without Interop.Call
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

This post was edited on 12-30-2006 at 09:35 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-30-2006 09:10 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Solved] Call a DLL with javascript without Interop.Call - by Huhu_Manix on 12-29-2006 at 08:05 PM
RE: Call a DLL with javascript without Interop.Call - by Baggins on 12-29-2006 at 08:12 PM
RE: Call a DLL with javascript without Interop.Call - by Huhu_Manix on 12-29-2006 at 08:16 PM
RE: Call a DLL with javascript without Interop.Call - by Baggins on 12-29-2006 at 08:22 PM
RE: Call a DLL with javascript without Interop.Call - by Huhu_Manix on 12-30-2006 at 03:00 AM
RE: Call a DLL with javascript without Interop.Call - by CookieRevised on 12-30-2006 at 03:15 AM
RE: Call a DLL with javascript without Interop.Call - by Huhu_Manix on 12-30-2006 at 03:31 AM
RE: [Solved] Call a DLL with javascript without Interop.Call - by CookieRevised on 12-30-2006 at 09:10 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On