Solved

"Winpopup"/"Winchat"

Posted on 1998-02-03
3
263 Views
Last Modified: 2013-12-03
Can anyone give me "winpopup" or "winchat" source codes (c or pascal)? Are they available from MS at all?
0
Comment
Question by:iteselko
3 Comments
 

Author Comment

by:iteselko
ID: 1410829
Adjusted points to 200
0
 
LVL 4

Expert Comment

by:jtwine100697
ID: 1410830
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
 

Accepted Solution

by:
ajhoughton earned 200 total points
ID: 1410831
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question