Creating plugin, help needed |
Author: |
Message: |
NightScream
Junior Member
Posts: 16
41 / / –
Joined: May 2004
|
O.P. Creating plugin, help needed
Hello everybody,
I'm trying to write my own plugin in VB6.
I've been experimenting with text-to-speech.
i have been looking very long for a good text-to-speech notifier.
ex: when someone comes online it would say "person" status is online.
now i'v been examining the plugin sdk but i cant find the function that is called when persons change their status.
can someone help me with this?
Thank you
|
|
01-24-2005 04:54 PM |
|
|
Dempsey
Scripting Contest Winner
http://AdamDempsey.net
Posts: 2395 Reputation: 53
38 / /
Joined: Jul 2003
|
RE: Creating plugin, help needed
The Plus! plugin API doesnt inform you of tstaus change, but the Messenger API does, which you can use in a plugin.
Use oMessenger sent in Initalise
|
|
01-24-2005 04:56 PM |
|
|
NightScream
Junior Member
Posts: 16
41 / / –
Joined: May 2004
|
O.P. RE: Creating plugin, help needed
thanks for that info but now i have another problem.
probabely something very stupid but i cant find it.
i have compiled the dll, pasted it in the plugins dir from msgplus, registered it with the command supplied in the readme.doc in the plugin sdk and i have created a registry value.
where did i go wrong?
http://users.telenet.be/tommekevda/msgplusplug.JPG
here is a screenshot.
my projectname is nsSTM
the classmodule name is nsSTMClass
|
|
01-24-2005 07:47 PM |
|
|
RaceProUK
Elite Member
Posts: 6073 Reputation: 57
39 / /
Joined: Oct 2003
|
RE: Creating plugin, help needed
A description of the problem would be useful...
|
|
01-24-2005 08:13 PM |
|
|
NightScream
Junior Member
Posts: 16
41 / / –
Joined: May 2004
|
O.P. RE: Creating plugin, help needed
heh sorry. i was doing multiple things at the same time.
so my problem is that msgplus doesn't display the plugin in its plugin window @ preferences
|
|
01-24-2005 08:16 PM |
|
|
lopardo
Veteran Member
Posts: 1395 Reputation: 33
38 / /
Joined: Nov 2002
Status: Away
|
RE: Creating plugin, help needed
Are you exporting the functions correctly? Take a look at the sample included in the plugin SDK, more info here.
|
|
01-24-2005 10:59 PM |
|
|
NightScream
Junior Member
Posts: 16
41 / / –
Joined: May 2004
|
O.P. RE: Creating plugin, help needed
hi, i don't know what i did wrong but i found a .reg file with the samples and i used it on my plugin and it works now.
tnx for our reply's
|
|
01-24-2005 11:21 PM |
|
|
RaceProUK
Elite Member
Posts: 6073 Reputation: 57
39 / /
Joined: Oct 2003
|
RE: Creating plugin, help needed
The class you need to put in the regkey is the one that contains the definitions of the API functions.
|
|
01-25-2005 12:06 PM |
|
|
NightScream
Junior Member
Posts: 16
41 / / –
Joined: May 2004
|
O.P. RE: Creating plugin, help needed
yes i know, but i think i did something wrong, but now it works.
And here i am, yet with another question.
Here is a screenshot of the problem.
http://users.telenet.be/tommekevda/plugin_problem.JPG
when i click on "configure", i get that error.
|
|
01-25-2005 12:59 PM |
|
|
NightScream
Junior Member
Posts: 16
41 / / –
Joined: May 2004
|
O.P. RE: Creating plugin, help needed
anyone?
edit: I just want to add that it is a text-to-speech plugin and it's working perfectly but i had to implement a 10 secons delay or else it would read all the contacts that came online (at startup).
isn't there a variable wich i can use to see when the contact list is fully loaded an initial statusses are set?
This post was edited on 01-26-2005 at 12:08 AM by NightScream.
|
|
01-25-2005 11:57 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|