![]() oMessenger in Plus! API - 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) +----- Forum: Plug-Ins (/forumdisplay.php?fid=28) +------ Thread: oMessenger in Plus! API (/showthread.php?tid=37520) oMessenger in Plus! API by (CyBeRDuDe) on 01-26-2005 at 10:40 PM
Hey everybody.. could anybody give me some help with the oMessenger in Plus! API? code:or code: neither works!? in the Initialize: code: shouldn't this be enough?... what am I doing wrong?... I really can't seem to locate the problem... Could anybody maybe post/upload an example plugin using the oMessenger?.... ![]() And another one: At the moment i'm not using the oMessenger(beacuse I can't get it working)... But using the normal Messenger API... whenever I try any of these codes MSN crashes, no errors or anything.. just crashes... code:It only does it when I'm using anything with the Groups or Contacts... GetContact works fine.... I can get them working perfectly in a seperate exe, but in a plugin it just crashses... I was just wondering if it is just me?.. or does anybody else also have this problem? does anybody know why? and is there a workaround this (Besides doing it in a seperate exe)? I want to get the groups and contacts in the different groups inside a plugin, using Messenger API... Also that's why I want the oMessenger object to work.. If I can't make this work, then the plugin have to have WM and WM running, and then I might as well do the contact list thing in an seperate exe.... Anybody help? ![]() BTW: The *.link suggestion will be released in a "beta" soon... ![]() ![]() RE: oMessenger in Plus! API by Dempsey on 01-26-2005 at 10:46 PM
umm with the first question, i thoguh you still needed the reference to Windows Messenger, and then use code:I'm not 100% sure tho RE: oMessenger in Plus! API by Stigmata on 01-26-2005 at 10:46 PM
in the new plus api, the messenger object is already identified RE: oMessenger in Plus! API by (CyBeRDuDe) on 01-27-2005 at 07:22 AM
quote: Okay, this works too... But then how can I use the oMessenger object in the initialize? Like this, am I right? code: But this won't work... the plugin just crashes exactly at this point...? What am I supposed to do, to get the oMessenger instead of the Messenger API... And do I also have to have a reference to the messenger API even when using oMessenger as API?... I'm am doing that, was just wondering if it would work without the reference.... quote: What do you mean?... the messenger object is already indetified as oMessenger in the initialize function?.... yes I know that... that's the object I need to know to get functioning properly... ![]() RE: oMessenger in Plus! API by Stigmata on 01-27-2005 at 07:39 AM
if its already identified, it should function fine RE: oMessenger in Plus! API by (CyBeRDuDe) on 01-27-2005 at 08:18 AM
Hey... It works alright now... Now it just need to get it working in another form/module besides the Class.... code:and it worked... so I tried adding this to the declarition code:everytime I tried before I always had an As arguement behind... And then in initilize I just use code:And it works perfectly.... And you don't need to have the reference to the Messenger API... but without this reference you won't be able to see the different calls and commands you can do, so I have this reference on as long as i'm programming, and then just remove it later on... ![]() But why won't it work in my from in the Project?.. the objMessenger is set to Public.. Do I need to make them private and then in the from call something like this code:Or something? Then to the other question?... the contact list problem?... Can anybody confirm this problem?.. just so I know it isn't only at my side... ![]() Thanks for your help!!! ![]() RE: oMessenger in Plus! API by Wouter on 01-28-2005 at 03:51 PM
code: RE: oMessenger in Plus! API by (CyBeRDuDe) on 01-28-2005 at 04:20 PM
quote: Thx wouter for asnwering... ![]() ![]() So alll my problems have been solved, except the one with the contact list problem... but doesn't look like anybody have an answer to this... |