Shoutbox

Dlls w/ new scripting language - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Dlls w/ new scripting language (/showthread.php?tid=64532)

Dlls w/ new scripting language by figs999 on 08-06-2006 at 05:30 AM

I just started creating the new scripts for messenger plus live, and I am a little confused as to how to integrate dlls into the scripting language:

-Do dlls need to be of javascript code exlusively? Or can they be of any language that supports dynamically linked libraries.
-Also what is the extent of the type of code possible in the dlls...
Say could I do windows sdk functions and have them work properly?

-And after I create my dll, do I include it into my .js by normal javascript include(''); function or is there a special process to reference the information in the dll I put in my .plsc?

Thank you ahead of time -Fig


RE: Dlls w/ new scripting language by Flash on 08-06-2006 at 05:41 AM

i tink u need that

code:


Name Description
Call Call functions located in external libraries.
Call2 Call functions located in custom made external libraries and return a string.
FreeDll Unloads a DLL previously loaded by Call.
Allocate Allocates a memory block for low level operations.
GetLastError Returns the result of the GetLastError Windows API function.


[number] Call(
    [string] DllName,
    [string] FunctionName,
    [var, optional] Param1,
    [var, optional] Param2,
    [var, optional] Param3,
    [var, optional] Param4,
    [var, optional] Param5,
    [var, optional] Param6,
    [var, optional] Param7,
    [var, optional] Param8,
    [var, optional] Param9
);


RE: Dlls w/ new scripting language by figs999 on 08-06-2006 at 06:19 AM

thanks for the info on call.
But I still dont know what language I can create my dll in.


RE: Dlls w/ new scripting language by matty on 08-06-2006 at 06:23 AM

quote:
Originally posted by figs999
thanks for the info on call.
But I still dont know what language I can create my dll in.
Any language really.

VB you would create an ActiveXObject
C++ you can use Interop.Call