Hi,
If you have to have an LV event structure handle the event, it gets a bit more complicated...
Make a dynamic event (LV), register it (LV). Make an event case for it (LV). Then, create the event handle (dll) and start a dynamic vi (LV) that waits for it (dll). When it's done, trigger the event (generate user event).
Regards,
Wiebe.
"petitprince" <x@no.email> wrote in message news:1132571458323-290878@exchange.ni.com...
Hi, thanks for your answer. From your answer it looks to me that I have to do it in the C like fashion calling dll function. Then I will have the opposite problem : Once I have my event handle, how can I wire it to a event processing structure?The ideal solution would be to create event in labview? Maybe I will ask a newbie question (I'm quite new to labview and mainly used C/C++ (visual)), but I need the value of the win32 event handle to pass to the dll. Is it directly the "event registration refnum"? out of "register for events" icon? or the "user event refnum" out of "create user event". Shall I do some conversion?Thanks