What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] C#.net dll and ActiveXObject

[?] C#.net dll and ActiveXObject
Author: Message:
Chestah
Veteran Member
*****

Avatar

Posts: 1658
Reputation: 34
36 / Male / –
Joined: Jun 2004
RE: [?] C#.net dll and ActiveXObject
I can't exactly remember how i got my C# dlls to work, but theres another process you have to do to the actual code itself to get it "visible" and able to be registered. I'm fairly sure i learnt how to do it from a tutorial on the codeproject website.

Sorry, but i hope this helps :).

Edit: Heres a .dll i made to use with Plus! live, having a look at the format you may beable to copy it and make your dll accessible.

The project name was "MPL".

code:
using System;
using System.Collections;
using System.Text;
using System.Runtime.InteropServices;

namespace CS
{
    [Guid("D6F88E95-8A27-4ae6-B6DE-0542A0FC7039")]
    [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]

    public interface _Functions
    {
        [DispId(1)]
        string DoSearch(string query, int resultsnum);
    }



    [Guid("13FE32AD-4BF8-495f-AB4D-6C61BD463EA4")]
    [ClassInterface(ClassInterfaceType.None)]
    [ProgId("MPL.Functions")]
    public class Functions : _Functions
    {
        public string DoSearch(string query, int resultsnum)
        {
            //example code
        }
    }
}

I'd personally recommend staying away from ActiveX dlls and use as much Jscript as you can.

This post was edited on 12-14-2006 at 01:23 PM by Chestah.
Segosa is newb.
12-14-2006 01:16 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] C#.net dll and ActiveXObject - by Felu on 12-14-2006 at 12:39 PM
RE: [?] C#.net dll and ActiveXObject - by Deco on 12-14-2006 at 12:57 PM
RE: [?] C#.net dll and ActiveXObject - by Felu on 12-14-2006 at 01:06 PM
RE: [?] C#.net dll and ActiveXObject - by Deco on 12-14-2006 at 01:07 PM
RE: [?] C#.net dll and ActiveXObject - by Chestah on 12-14-2006 at 01:16 PM
RE: [?] C#.net dll and ActiveXObject - by Deco on 12-14-2006 at 01:34 PM
RE: [?] C#.net dll and ActiveXObject - by -dt- on 12-14-2006 at 01:44 PM
RE: [?] C#.net dll and ActiveXObject - by Deco on 12-14-2006 at 02:00 PM
RE: [?] C#.net dll and ActiveXObject - by Felu on 12-16-2006 at 05:00 AM
RE: [?] C#.net dll and ActiveXObject - by ShawnZ on 12-16-2006 at 05:05 AM
RE: [?] C#.net dll and ActiveXObject - by RaceProUK on 12-16-2006 at 11:07 AM
RE: [?] C#.net dll and ActiveXObject - by Felu on 12-17-2006 at 05:23 AM
RE: [?] C#.net dll and ActiveXObject - by Chestah on 12-17-2006 at 08:02 AM
RE: [?] C#.net dll and ActiveXObject - by Felu on 12-17-2006 at 08:04 AM
RE: [?] C#.net dll and ActiveXObject - by Chestah on 12-17-2006 at 08: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