11-29-2018 09:11 AM
Hello. I'm testing the remote .NET example application available in the NI website
https://forums.ni.com/t5/Developer-Center-Resources/Inter-Application-Communication/ta-p/3523015
the purpose of this application is to establish communication between 2 applications through a .net class
It works very well but the labview clients only use event structure with timeout, and not .net events
I've noticed events are defined in the remote .NET class and I would like to use it despite of event+ timeout (image of event definition below)
thus I'm implementing those events in labview below:
but it doesn't work. error below:
translation:
"error 1172 occured in : save callback
A .NET exception occurred in an external assembly"
do you have any idea of the problem?
12-17-2018 08:34 AM
Hello Pierre_F,
This exception error is thrown when attempting to access a file that does not exist on disk.
To resolve this error, try the following:
1. Ensure you're building your assembly as well as all other libraries in "release" mode
2. If your assembly calls another c++ ensure you have installed Visual C++ Redistributable for Visual Studio 20xx before attempting to run.
Have a nice day.
Regards,
Clement Dekeyser