nonstatic

WPF: Binding with nonstatic parameter? (newbie question)

Hi guys, This will probably be obvious but I can't find the best way. I want to show the user's ToDo's in a listbox. These ToDo's are in the database and consist of an Id, UserId and Description. The user logged in to the app. How can I retrieve the ToDo's for that certain userId and set it up for binding to the listbox? I was tryi...

how to pass a non static-member function as a callback?

io_iterator_t enumerator; kern_return_t result; result = IOServiceAddMatchingNotification( mNotifyPort, kIOMatchedNotification, IOServiceMatching( "IOFireWireLocalNode" ), serviceMatchingCallback, (void *)0x1234, & enumerator ); serviceMatchingCallback((...