Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

"Winpopup"/"Winchat"

Posted on 1998-02-03
3
Medium Priority
?
304 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 400 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

916 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