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

How do I send everyone a message in network

Can anybody help me with my problem :

I would like to send everyone connected on the (local) network a message ! (example : "HELLO" or "GET OF THE
COMPUTER YOUR TIME IS UP " ..etc..)

Are there any commands to do it ?

I'm working on a program with INTERBASE engine.
Does interbase support any such command I could use from Delphi 2.0 (client /server)
0
odydj
Asked:
odydj
  • 2
1 Solution
 
d003303Commented:
Windows supports the LAN-Manager messaging system. If your system is running e.g. Client for Microsoft Networks you will be able to send messages.
The functions are

NetMessageBufferSend
NetMessageNameAdd
NetMessageNameDel
NetMessageNameEnum
NetMessageNameGetInfo

Have a look at them by pressing F1 in code editor when the cursor is in the function name.

Slash/d003303
0
 
puppyCommented:
can you say me how yo use this functions?

0
 
d003303Commented:
By the way, you can also send messages with "net send" on the command line. In a command prompt type "net help send" for more info. You could WinExec this command line with the SW_HIDE parameter.

Puppy, maybe this already works for you.

Slash/d003303
0
 
odydjAuthor Commented:
10x I'll try !!!!

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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