|
-
Jan 5th, 2000, 05:43 PM
#1
How do you find out if an ICQ user is online?
I'd like a function that accepts an icq number and returns true or false as to whether or not they are online.
Also can you get other info on users too...like their last ip, age, nick name, address etc... an ocx or dll will do, but I'd rather have the actual code.
------------------
Matthew Ralston
E-Mail: [email protected]
ICQ:31422892
Web Sites:The Blue Link My Home Page
-
Jan 6th, 2000, 02:08 AM
#2
Hyperactive Member
-
Jan 6th, 2000, 05:05 AM
#3
Member
Hey- Check www.icq.com somewhere on the site they have a developers sdk that i think includes functions for seeing if a user is online (plus a ton of other stuff) in a dll
Hope this helps
Thnx for your time,
CarlosTheJackal
-
Jan 6th, 2000, 06:36 AM
#4
Addicted Member
you can use some of their ocx's that are installed when you install icq..(look in your system folder or use VB to browse it) or you can just install a old version.. (it somehow got a conflict with the newer versions so you can see the users IP)
anyway I got a ICQ spoofer that can read the IP from the ICQ number. but since I think that you are gona abuse it I wont give it to you 
-Lumin
-
Jan 6th, 2000, 08:07 AM
#5
Hyperactive Member
-
Jan 7th, 2000, 11:03 AM
#6
Junior Member
I know how to do it in HTML
Code:
<img src="http://online.mirabilis.com/scripts/online.dll?icq=16061000&img=5" width="19" height="18">
This piece of HTML will show the icq flower in green if I am online when you view the page, and i Red if I am offline.
------------------
Third year Software Engineering Student.
On placement at the University of Manchester
playing with expensive cool things...
http://drinky.u4l.com
[email protected]
-
Jan 7th, 2000, 04:14 PM
#7
Lively Member
Yeah that ICQ DLL can be dl'ed from here
http://www.icq.com/api/
hope that's what u wanted.
------------------
Charlie Jacquez
16 Year Old Software Developer
Email: [email protected]
Web: CJWARES Online
AIM: CJWARES, SlimmShadee2000, or BIOSzapper
ICQ: 58493454
I program: Basic, Visual Basic, HTML, and TI-Calculators
My System Specs: Click here
[This message has been edited by cjwares (edited 01-08-2000).]
-
Jan 8th, 2000, 01:34 AM
#8
Well, well... some of you trust me, some don't! Thanks for the tip, Kennn, that's a lot of help...but I'm already using ICQ!
All I really want to do is make a program that launches ICQ when certain users come online...not runn it all the time 'cos it takes up resources an it's distracting an I'm just bee'in fussy an cos I want to OK?! (An no, I don't really want to do any major hacks - that Subject Title was just to grab attention, an no, I'm not tryin' to get peoples IP addresses!)
Might have a look at the ocx's though...I never even thought about using them...some programmer I turned out to be!! 
------------------
Matthew Ralston
E-Mail: [email protected]
ICQ:31422892
Web Sites:The Blue Link My Home Page (Not up at the moment!)
-
Jan 8th, 2000, 01:45 AM
#9
Thanks for the "ICQ API" link, it's downloading now... 
------------------
Matthew Ralston
E-Mail: [email protected]
ICQ:31422892
Web Sites:The Blue Link My Home Page (Not up at the moment!)
-
Jan 8th, 2000, 06:03 AM
#10
Has anybody else used the ICQ API DLL? I'm trying to declare and use functions from it like the normal Windows API and can I get it to work?
For example, one function in this DLL is ICQAPICall_GetOnlineListDetails. Can somebody give me a demo on how to declare and use this function? The documentation says:
BOOL WINAPI ICQAPICall_GetOnlineListDetails(int &iCount, BPSICQAPI_User **ppUsers);
In (Arguments): None
Out (Returns): iCount, ppUsers
iCount - the number of Users to follow
ppUsers - a pointer to the users’ array.
Description: The data returned is in the order of the online list, top to bottom. The users array is initialized with the user’s ICQ# (m_iUIN field) and the Window Handle (m_hFloatWindow) if the user is “floating”. The users array should be freed by calling ICQAPIUtil_FreeUsers to free each user structure and the array itself.
That's gobbledy-geek to me!! Help!
------------------
Matthew Ralston
E-Mail: [email protected]
ICQ:31422892
Web Sites:The Blue Link My Home Page (Not up at the moment!)
-
May 8th, 2000, 11:04 PM
#11
Need-a-life Member
You could try this way:
Code:
Private Declare Function ICQAPICall_GetOnlineListDetails Lib "ICQMapi.dll" _
(iCount As Integer, ppUsers() As BSICQAPI_User) As Boolean
Despite it answers with success when you call it, and get the number of people online, the array of struct (ppUsers() ) remains empty. Let me know if you make it work.
I guess you already know you should always call this function once:
Code:
Private Declare Function ICQAPICall_SetLicenseKey Lib "ICQMapi.dll" _
(ByVal pszName As String, ByVal pszPassword As String, ByVal pszLicense As String) As Boolean
where the arguments are the one you got in the email confirmation when you downloaded the API.
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|