Hi! This may be a hard one to describe, hopefully easier to solve...!
I've got an "engine DLL" (no user interface) that integrates to LabView via Active-X (it 'calls' LabView-based .vi's for some stuff).
The called LabView vi's may report progress back to the calling DLL. We've tried to make this via a DDE server that the DLL registers. The server works, but if called from LabView (which was called by the DLL 🙂 nothing happens. The program is stuck.
Problem seems to be (my guess) that the Windows DDE messages never get polled from the message queue. So I put the DDE server in another thread and called 'ProcessSystemEvents()'. No help.
What exactly should 'ProcessS
ystemEvents()' do and am I on the right track here? May it be called from any thread or are there limitations?
Would there be a better way of implementing "callbacks" back from VI to C?
Yours, - asko.kauppi@fi.flextronics.com