Hell Bob,
I found another discussion forum post which might resolve this issue.
" Looks like there might be some difference in the implementation of the way the CVI RTE handles the console, as compared to MSVCRTE. The dll might be depending on the MSVCRTE to allocate the console resources for it.
A way around this would be to make sure that dll gets its console resources assigned to itself, hence not depending on the run-time calling the dll to do it. I have attached the files for a function called RedirectIOToConsole() which does this. You can place this function in your dll, and recompile it. Check out this link for more information about this function. I tried it, and it seemed to do the trick. "
There are two files attached to the post which you can find here:
http://forums.ni.com/ni/board/message?board.id=180&message.id=5902&query.id=6238#M5902
Thanks!
Wendy L
LabWindows/CVI Developer Newsletter