What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Plugins C++

Plugins C++
Author: Message:
michael_m91
Full Member
***


Posts: 371
Reputation: 1
33 / Male / –
Joined: Jan 2004
O.P. Plugins C++
So with the new plugin API, theres C++ 7.0 and C++ 6.0.

C++ 7.0 has events, but I dont have C++ 7.0. Is there a way for me to use events in C++ 6.0 or Even in VB 6.0?:P

[Image: Email.JPG]
09-25-2004 03:34 AM
Profile E-Mail PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Plugins C++
Oh, sure... it's just that I didn't had the time to do another version of the new sample... most of the code that won't mport automatically fromVC7 to VC6 will concern ATL windows and you can ignore that as they are only useful for demonstration purposes.. The Sink class should be entirely compatible with VC6 (and if it's not, it shouldn't be too difficult to make the necessarychanges).
[Image: signature2.gif]
09-25-2004 04:16 AM
Profile PM Web Find Quote Report
michael_m91
Full Member
***


Posts: 371
Reputation: 1
33 / Male / –
Joined: Jan 2004
O.P. RE: RE: Plugins C++
quote:
Originally posted by Patchou
Oh, sure... it's just that I didn't had the time to do another version of the new sample... most of the code that won't mport automatically fromVC7 to VC6 will concern ATL windows and you can ignore that as they are only useful for demonstration purposes.. The Sink class should be entirely compatible with VC6 (and if it's not, it shouldn't be too difficult to make the necessarychanges).


Alright thanks, and do you know if you will ever be implementing the events into VB Plugin Samples?

[Image: Email.JPG]
09-25-2004 04:21 AM
Profile E-Mail PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Plugins C++
Well, once again, this can already been done, it's jsut that I didn't make a sample for VB6... if I find the time, I'll do it :).
[Image: signature2.gif]
09-25-2004 06:29 AM
Profile PM Web Find Quote Report
michael_m91
Full Member
***


Posts: 371
Reputation: 1
33 / Male / –
Joined: Jan 2004
O.P. RE: Plugins C++
quote:
Originally posted by Patchou
Well, once again, this can already been done, it's jsut that I didn't make a sample for VB6... if I find the time, I'll do it :).

So are you saying without the sample we can still code it in vb but we need the right API calls?

And thanks for finding time somtime because i'm not very good at C++

This post was edited on 09-25-2004 at 06:33 AM by michael_m91.

[Image: Email.JPG]
09-25-2004 06:33 AM
Profile E-Mail PM Web Find Quote Report
Yousef
Full Member
***

Avatar
(previously known as Juzzi)

Posts: 487
Reputation: 19
35 / Male / Flag
Joined: Jul 2004
RE: Plugins C++
in vb it's just something like
code:
public withevents omess as messengerAPI.messenger

and in initalize()

set omess = omessenger

I suppose..
Developer of BuddyFuse: Google Talk, Twitter and Hyves in Windows Live Messenger
Ex-Microsoft intern and Windows Live Developer MVP in 2007 & 2008
09-25-2004 06:41 AM
Profile E-Mail PM Web Find Quote Report
michael_m91
Full Member
***


Posts: 371
Reputation: 1
33 / Male / –
Joined: Jan 2004
O.P. Plugins C++ 7.0 to Plugins C++ 6.0
Ok I took all the files from the C++ 7.0 API Sample, and inported it into Visual C++ 6.0. I got the Following error messages.

Mind you i'm not very good at C++ but more at Visual Basic but since the events is only for C++ I decided to try it.

http://shoutbox.menthix.net/attachment.php?pid=313112

.txt File Attachment: Error.txt (2.56 KB)
This file has been downloaded 452 time(s).

[Image: Email.JPG]
09-25-2004 11:03 PM
Profile E-Mail PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Plugins C++
If you're not good at C++, you shouldn't try tolearn it by doing this kind of thing, it will just confuse you. You should stick to VB :). And once again, events can be coded in VB6 as well. In fact, it's much better to use in VB than in VC.

Itend to think that the code posted by noelie should work fine. I should make a poll to know what's the percentage of VB6 vs VB.NET programmers.
[Image: signature2.gif]
09-26-2004 04:35 AM
Profile PM Web Find Quote Report
michael_m91
Full Member
***


Posts: 371
Reputation: 1
33 / Male / –
Joined: Jan 2004
O.P. RE: Plugins C++
Thata be nice! (y)

[Image: Email.JPG]
09-26-2004 05:49 AM
Profile E-Mail PM Web Find Quote Report
« 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