What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Sorry if this has been asked...

Pages: (3): « First [ 1 ] 2 3 » Last »
Sorry if this has been asked...
Author: Message:
frak
New Member
*

Avatar
I didn't do it!

Posts: 9
– / Male / –
Joined: Oct 2005
O.P. Sorry if this has been asked...
But I am trying to find either some kind of advanced howto or some more involved source code that is given away with the API download.

Would anyone here be so kind as to point me in the right direction?
10-01-2005 02:23 AM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Sorry if this has been asked...
What sort of examples are you looking for?
[Image: spartaafk.png]
10-03-2005 01:45 PM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Sorry if this has been asked...
quote:
Originally posted by frak
But I am trying to find either some kind of advanced howto or some more involved source code that is given away with the API download.

Would anyone here be so kind as to point me in the right direction?
Start by reading the official Help pages. It is clearly stated there:

http://www.msgplus.net/help.php

on the bottom it states:
quote:
Plugin API: get the latest documentation of the Messenger Plus! API and create your own plugin today!
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-03-2005 02:27 PM
Profile PM Find Quote Report
frak
New Member
*

Avatar
I didn't do it!

Posts: 9
– / Male / –
Joined: Oct 2005
O.P. RE: Sorry if this has been asked...
I have the API docs, but my question isn't so much about the Messenger API - that I can deal with.

What I want is an example test harness, as I am not sure how to go about debugging my (test) plugin.  The DLL is built, I have moved it, registered it, added the relevant reg key and yet nothing happens.

As it is a DLL I am not sure how I would step through the code to find out what is going wrong, and the last thing I want to have to do is put in a load of MsgBox's to find out where it is failing.

This post was edited on 10-03-2005 at 03:11 PM by frak.
10-03-2005 03:10 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Sorry if this has been asked...
If you follow the guidelines in the API doc exactly, then your DLL should run just fine... The procedures in the examples are very important and must be followed exactly. In other words, first check if your dll is loaded correctly. If that is ok, afterwards you can start checking your routines you perform.

You indeed could add some msgboxes. That's the quickest way to find out where something went wrong.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-03-2005 09:10 PM
Profile PM Find Quote Report
frak
New Member
*

Avatar
I didn't do it!

Posts: 9
– / Male / –
Joined: Oct 2005
O.P. RE: Sorry if this has been asked...
Thanks for your continued help, but I think my problem is not so much with the code I have written, but more the process of getting a VB.NET plugin running.  And I would really love to get at the files the following URL that has been mentioned a few times on the forum, but seems to be broken:

http://www.mscorlib.com/DesktopDefault.aspx?tabid=271

If anyone here has a copy of this that they can mail me, please PM me?
10-04-2005 02:30 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Sorry if this has been asked...
interesting threads to read (I know it takes time to read all of it, but it might help a lot):
http://shoutbox.menthix.net/showthread.php?tid=21003
http://shoutbox.menthix.net/showthread.php?tid=19088
http://shoutbox.menthix.net/showthread.php?tid=25027

something which attracted my attention:
quote:
Originally posted by SilenceTi
it is importent in vb.net and c# that you have to register the dll in your register just like vb plugins, AND you will have to set "Register for COM Interop" to true in the project properties.
dunno if that still applies or not though...

---

about http://www.mscorlib.com/DesktopDefault.aspx?tabid=271:
* WebArchive Jan 09, 2004
* WebArchive Mar 16, 2004
The files themself aren't available anymore though...

---

Nevertheless, did you try to run the example plugin (unmodified) in the MPPlugins documentation from Plus!? As all the info in those given threads (and also on mscorlib.com) is really very old information and things might have changed. The current VB.NET sample plugin in the official documentation should work fine...


This post was edited on 10-04-2005 at 06:09 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-04-2005 06:01 PM
Profile PM Find Quote Report
KokiriChild
New Member
*

Avatar
FFXI Rules my life

Posts: 5
40 / Male / –
Joined: Oct 2005
RE: RE: Sorry if this has been asked...
quote:
Originally posted by CookieReviseddid you try to run the example plugin (unmodified) in the MPPlugins documentation from Plus!?

It's horrible trying to VB.NET plugins to work, and according to the baord getting that VB.NET Plugin to work is even worse again. Sorry I can't be of more help, but "don't follow the example" is what I'm trying to say.

- KokiriChild
10-04-2005 06:07 PM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Sorry if this has been asked...
quote:
Originally posted by KokiriChild
It's horrible trying to VB.NET plugins to work, and according to the baord getting that VB.NET Plugin to work is even worse again. Sorry I can't be of more help, but "don't follow the example" is what I'm trying to say.

- KokiriChild
I can't confirm nor deny it, I only know that what has been said in those threads is very old and things have changed since then. So I don't know if all that still applies...

This post was edited on 10-04-2005 at 06:12 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-04-2005 06:12 PM
Profile PM Find Quote Report
frak
New Member
*

Avatar
I didn't do it!

Posts: 9
– / Male / –
Joined: Oct 2005
O.P. RE: Sorry if this has been asked...
CookieRevised:

I have COM interop enabled - all I have done is taken the sample project and cut out the code I didn't want.  I have read through all three of the threads that you kindly gave me links to.  I guess what this is teaching me is to give up on VB.NET - I should have known after all the heartache VB 6 has given me over the years.  Is VB6 going to be an easier bet?  Or should I go for the steep curve and choose c++?

KokiriChild:

Do you know of any plugin authors who have succeeded?
10-04-2005 07:04 PM
Profile PM Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« Next Oldest Return to Top Next Newest »


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