• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

"Winpopup"/"Winchat"

Can anyone give me "winpopup" or "winchat" source codes (c or pascal)? Are they available from MS at all?
0
iteselko
Asked:
iteselko
1 Solution
 
iteselkoAuthor Commented:
Adjusted points to 200
0
 
jtwine100697Commented:
If you are interested, the SAMBA distribution for Linux contains a program that will work with WinPopup.  You may be able to take the source code to that program, and figure out how to mess with WinPopup then.

-=- James.
0
 
ajhoughtonCommented:
I don't know about the source-code, but if you want to mess with Winpopup, it uses a Win32 mailslot, called "\\{computername}\mailslot\messengr". If you open it, then send a message to it, you'll find that you get three null-terminated strings, containing the sender, recipient and message (though I can't quite remember which order the sender and recipient are in - but it's easy enough to see).
I take it that you have Win32 documentation - if so, then this should be very easy. If you aren't using 32-bit windows, then things are more difficult and you'll have to find the LAN Manager API documentation from somewhere.
On Windows NT, you'll have to terminate the "messenger" service before this will work [you can still send to it, but you aren't allowed to serve a mailslot that someone else is already using].
Note that the mailslot API seems to be broken in some interesting ways; depending on your network, you may find that your maximum message size is anywhere from 128 bytes upwards. (MS claim that you can send up to 64Kb in a non-broadcast; didn't work when I tried it).
I think WinChat uses NetDDE, but I don't know much about that.

0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now