08-27-2004 03:09 PM
09-08-2004 05:48 PM
09-09-2004 11:49 AM
09-10-2004 11:24 AM
03-23-2006 11:05 AM
I would like to add something to this thread.
I have a sub vi that is basically let say a .net wrapper vi. This vi handles the interaction with any .net dll that we create.
I have a higher level vi that has a call to this .netwrapper.vi. This higher level vi does not have any other .net interaction at all.
When this higher level vi calls the .netwrapper.vi it gives me the 1172 error about the assembly is not found. If I stop my higher level vi and go over to the .netwrapper sub vi and run it with the exact same values that just got set by the higher level vi, it works fine.
Also, if I simply copy the .net dll into the same dir as the higher level vi, it works.
So from what I am seeing is that the .net dll would have to be in the same dir as every vi calls the .netwrapper vi. So, where does it end? Do I have to make sure that my dll is in every dir that I have that has a vi in it?
The reason I did this .netwrapper.vi was because I read that as long as that vi is in the same dir as the .net dll, and none of my higher level vis dont do .net stuff, which they dont, this architecture should work.
Any help would be appreciated.
03-23-2006 12:44 PM