I've got a LabView VI that runs fine when executing the source code but when I build it into a DLL and call it from a C application I see strange things happen. A little window flashed briefly on the screen and after several attempts was able to capture the text that was being printed to the window. Apparently the DLL was looking for another DLL, one from NI, but was not finding it. The DLL call appears to the C application to have run but further investigation showed that it really did not run. I'm curious why 1) the DLL version doesn't use the same default search path as the LabView IDE uses and 2) why there is no exception indicated somehow by Windows. Maybe there is another OS call that I could make to see if the previous DLL call caused any errors??
Thanks!