01-14-2009 11:31 AM
Hello,
I'm currently developping a large LV RT application running on a 8108 that does a massive use of Visual C++ DLL developped by me.
I'd like to know if there is a limitation about the number of different custom DLL that a LV RT application can load ?
Because when I use 11 DLL it works fine but when 12 DLL are loaded, my RT target crashes violently.
To precise, my DLL are "empty shell" they do nothing.
LV RT 8.6
Regards,
01-15-2009 08:37 AM
Hello Pierre,
I asked my colleagues in the USA about your issue and I am waiting for an answer.
Moreover, is it possible for you to log the errors occuring in your PXI when you load these DLLs ?
Have a nice day !
Regards,
01-23-2009 03:26 AM
Hello,
When using DLLs with LabVIEW RT, NI recommends using VC6 (Visual Studio 6.0) or VC 7.1 (Visual Studio .NET 2003) compilers. When you use other compilers, run-time components need to be statically linked in when compiling.
Consequently, each DLL has a separate copy of the C run-time(CRT), and when loading all of these DLLs at the same time, the controller is running out of memory.
To solve this issue, you should recompile DLLs using VC6 or VC7.1 .
Regards,
01-23-2009 10:00 AM
This was reported to R&D (# 141272) for further investigation.
Cheers.