What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Scripting Example] GetUserName

[Scripting Example] GetUserName
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. RE: [Scripting Example] GetUserName
quote:
Originally posted by CookieRevised
PS:
A buffer size of (UNLEN + 1) characters will hold the maximum length user name including the terminating null character. UNLEN is defined in Lmcons.h.

and Lmcons.h defines UNLEN as being 256 characters. So I suppose the correct length for the buffer should be 2*256+2
Ya your write. Haha I will fix that. I am thinking maybe we should make a thread where scripters post examples for people to learn. That way we can keep all these types of threads in one place.

quote:
Originally posted by JonnyT
ah yeah that one works :)

so what else could this be used for?

In all reality nothing really, this is just an example of using Datablocks and Interop.Call/Allocate. But there are menu things you can do with the API etc.

This post was edited on 06-29-2006 at 04:45 PM by matty.
06-29-2006 04:42 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Scripting Example] GetUserName - by matty on 06-29-2006 at 03:30 PM
RE: [Scripting Example] GetUserName - by JonnyT on 06-29-2006 at 03:46 PM
RE: [Scripting Example] GetUserName - by matty on 06-29-2006 at 03:49 PM
RE: [Scripting Example] GetUserName - by Eljay on 06-29-2006 at 04:03 PM
RE: [Scripting Example] GetUserName - by matty on 06-29-2006 at 04:04 PM
RE: [Scripting Example] GetUserName - by CookieRevised on 06-29-2006 at 04:40 PM
RE: [Scripting Example] GetUserName - by JonnyT on 06-29-2006 at 04:41 PM
RE: [Scripting Example] GetUserName - by matty on 06-29-2006 at 04:42 PM
RE: [Scripting Example] GetUserName - by matty on 06-29-2006 at 05:14 PM


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