What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Trouble creating a DLL that works in Plus

Trouble creating a DLL that works in Plus
Author: Message:
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: Trouble creating a DLL that works in Plus
quote:
Originally posted by a0369
c code:
__declspec(dllexport) int __stdcall GetScreenSize(int avar)

I had to use:
c code:
__declspec(dllexport) int GetScreenSize(int avar)

jscript code:
    Debug.Trace(Interop.Call(MsgPlus.ScriptFilesPath + "\\test.dll", "GetScreenSize", 16 /* or any value*/ ))
    Interop.FreeDll(MsgPlus.ScriptFilesPath + "\\test.dll")


btw, what are you trying to do? :p
10-12-2008 11:13 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Trouble creating a DLL that works in Plus - by a0369 on 10-12-2008 at 08:18 PM
RE: Trouble creating a DLL that works in Plus - by felipEx on 10-12-2008 at 11:13 PM
RE: Trouble creating a DLL that works in Plus - by a0369 on 10-12-2008 at 11:22 PM
RE: Trouble creating a DLL that works in Plus - by felipEx on 10-12-2008 at 11:40 PM
RE: RE: Trouble creating a DLL that works in Plus - by davidpolitis on 10-13-2008 at 10:18 AM
RE: Trouble creating a DLL that works in Plus - by a0369 on 10-13-2008 at 01:22 AM
RE: Trouble creating a DLL that works in Plus - by Mnjul on 10-13-2008 at 11:24 AM
RE: Trouble creating a DLL that works in Plus - by a0369 on 10-13-2008 at 04:52 PM


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