Hello Stephan
synchronous callbacks will basically fire in the same thread that registered the callback. The driver will marshall the callback to fire in the correct thread. Typically you would use this option if you were writing a Win32 function and wanted to access UI controls from the callback thread. Instead of you having to worry about the thread, you would register the callback in the UI thread.
You don't need to handle any custom message. You just need to make sure your thread is pumping messages. You wont need your own windproc to handle anything special. The DAQ library takes care of that for you.
The only thing this option does is affect which thread the callback will fire in.
Bilal Durrani
NI