Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by georgedumaine

  1. georgedumaine

    Callbacks in VB.NET (windows service)

    That's what I've found out, you are absolutely right. If I do any processing at all in the OnStart routine the service manager times it out and fires the OnStop routine almost before I can blink. The timer method I described seems to be working best but I'm getting erratic results with the...
  2. georgedumaine

    Callbacks in VB.NET (windows service)

    What do you think about the structure of the service in general? Ie: Is it OK to have a timer that doesn't really do anything but hang out and have all the real work being done in the call back function? I just don't have much experience with delegates and callbacks in a service (console)...
  3. georgedumaine

    Callbacks in VB.NET (windows service)

    I am having a problem processing callback message in a windows service app. Bascially the program reads a text file with a list of video file names and plays them back via a dll that returns 2 messages I'm interested in. Here's what's going on and the relevant code: If I put the line "Call...
  4. georgedumaine

    Windows service and callbacks - program sturcture

    Thanks. I want it to run as a service and I'm still playing with it. I declared the callback in the timer instead of the startup routine. I'm getting messases back but I'm still having some problems. I'll let you know what I find.
  5. georgedumaine

    Windows service and callbacks - program sturcture

    I have an application that uses functions in an external dll. This dll sends messages back via a callback delegate and I process the messages when they come it. On load of the main form I initialize variables and register call back. Then I call a function in the dll that plays a video file...

Part and Inventory Search

Back
Top