LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can't use a labview dll from a thread which is not the main one in C++ app

I've a simple console application written in C++ that creates another
thread. I've created a DLL in Labview. When I try to call the DLL functions
from the main thread everything is ok. when I try to call a function from
the new thread I've created it seems that it exits my thread and never
comes back. Do I have to use special options when creating the DLL to avoid
this problem?

Thanks in advance
0 Kudos
Message 1 of 2
(2,337 Views)
Hello Andrea,

Your problem might relate to the calling convention of your LabVIEW dll. The following KnowledgeBase may provide some insight.

Hope it helps.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 2
(2,319 Views)