LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I write to CVI Stardard Input/Output window from DLL?

LabWindows 7.1
TestStand 3.1
MSVC++ 6.0

I have in the past printed to the CVI stdio window from an MSVC++ DLL
called from a CVI console application.

Currently, I have a CVI DLL that is called from TestStand. The CVI
DLL in turn calls into a DLL built using MSVC++ 6.0 (i.e.
TestStand --> CVI DLL --> MSVC DLL). I can't seem to be able to print
to the CVI Standard Input/Output window from the MSVC++ 6.0 DLL.

I can printf to the CVI Standard Input/Output window from the CVI DLL,
but all the printfs in my MSVC++ 6.0 DLL result in nothing.

I have tried telling CVI to use both the CVI Standard Input/Output
window and a console window, but the results are the same. I have
tried printing to both stdout and stderr in the
MSVC DLL, but still
nothing.

Is there any way for me to send output to the CVI Standard
Input/Output window (or CVI's console window) from an MSVC++ DLL
called from a CVI DLL when the 'parent' application is NOT a console
application?

---
Bob
0 Kudos
Message 1 of 1
(2,975 Views)