Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: bek

Search: Search took 0.00 seconds.

  1. Re: trouble with event/delegates to return a socket message

    Oh, just a note--I didn't copy the method with the "object, EventArgs" signature because I don't have an 'e' object anywhere in my DLL to refer to. That's one of the things I will be researching......
  2. Re: trouble with event/delegates to return a socket message

    Okay, I can see I need to go read up a bit. Thanks so much for your help today.
  3. Re: trouble with event/delegates to return a socket message

    Oh, duh... I have it now. Thank you, Big Ed! It's much appreciated.

    So HeardIt goes away, and that line instead becomes:


    OnMessageReceived += new MessageReceivedHandler (MessageReceived);
    ...
  4. Re: trouble with event/delegates to return a socket message

    Okay, I changed the name from MessageReceived to OnMessageReceived. I like to stay with convention--thanks for the tip.

    But I am getting a bit confused. I'm getting an error on the method...
  5. Re: trouble with event/delegates to return a socket message

    Okay, I think I have the basic code working. It goes something like this:


    MessageReceived += new MessageReceivedHandler (HeardIt);
    ...
    while (true) {

    // some code
  6. trouble with event/delegates to return a socket message

    Hi, guys.

    I'm hoping you can help me. I've been a coder a long time, but I just never have done anything with events and delegates. I have a rough understanding of the concept, but am having...
Results 1 to 6 of 6


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center