Thread: How2 catch incoming NETSEND messages?

  1. #1
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463

    How2 catch incoming NETSEND messages?

    Hi,
    is there a way to chatch incomming NETSEND messages?
    I's like to transform this handy utility into a chat program.
    But I ran into this big problem...

    Any idea?

    Thanks in advance,
    Carlos

    Have a nice code!

  2. #2
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Now come on guys, and help me (as I helped you soooo many times - poor me ;°)) !
    ...at least tell me it isn't possible, or something.

    Is there a way to catch the handler of a system modal window?
    Even before it is shown?

    Thx!

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    202
    I would ASSUME that you could just do it like any other message and put it in as a case in your switch statement.This is only a guess not flame me if Im wrong.

  4. #4
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Well, if it'd be a WM, but it isn't.
    If it would be that simple...
    There are some programs like Nethail, which can only send, but cannot receive the message sent from another node.
    Therefore I think it's not too easy - though, not impossible - to manage what I want.
    Other ideas?

  5. #5
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    I don't think that you can do that since Windows NT's messenger system is a service, not a program.

    Try using Windows Sockets, it's not so hard!

    Oskilian

  6. #6
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Okay, I put it another way
    How does netsend communicate with other nodes?
    Does it use ports? If so, which one?
    If I'd find out the port#, I could catch the whole communication!
    Any ideas?

  7. #7
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    not necesarilly, if you have the port No, different threads of data can be sent through the same port, I've heard that only the riginal program has access to the thread.

    Oskilian

  8. #8
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Hi Oskilian,

    > I've heard that only the riginal program has access to the thread.

    I'm in desperate need of any related info. Could you please send me links, anything regarding netsend service?
    I browsed MSDN, found everything except the really needed info.

    Anyway, thank you very much!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OOP Question DB Access Wrapper Classes
    By digioz in forum C# Programming
    Replies: 2
    Last Post: 09-07-2008, 04:30 PM
  2. Spy++ view messages posted/sent to a control, or from it?
    By hanhao in forum Windows Programming
    Replies: 2
    Last Post: 06-24-2007, 11:07 PM
  3. Sending windows messages
    By Ideswa in forum Windows Programming
    Replies: 2
    Last Post: 03-02-2006, 01:27 PM
  4. Where do I initialize Winsock and catch messages for it?
    By Lithorien in forum Windows Programming
    Replies: 10
    Last Post: 12-30-2004, 12:11 PM