LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Certain .NET Constructors don't appear in the list (LV 8.2)

Hi All,

I'm working with some privately developed .NET DLLs here and (at least) one of the constructors (named PlugIn) which should be appearing in the Objects list is simply not there.  I've read quite a few threads on similar problems but have not found anything that works for me.  While I cannot share the DLLs with you (and in fact have not seen them myself), I have been assured that this DLL does have the PlugIn class with a public constructor.

Any suggestions here?  I'm running LV 8.2.

Thanks!
-Yohan
Ramirez Kleinigger Consulting, LLC
http://www.thinkrkc.com/
0 Kudos
Message 1 of 4
(2,661 Views)
Yohan,
 
the assemblies you can directly select in the constructor node have to be included in the GAC (Global Assembly Cache). I asume that your DLL is not in the GAC.
In order to include the DLL to the GAC, you have to execute the Microsoft .NET Framework 2.0 Configuration utility (part of the administrative tools in the control panel) and add the DLL to the Assembly Cache.
On the other hand, you can directly browse to the DLL by choosing "browse".
 
 
hope this helps,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(2,644 Views)
Hi Norbert,

Thanks for the reply.  I haven't added the DLL to the GAC, but I was able to get to the objects using the "Browse" button you mentioned.

I should clarify that it's not that I can't see ANY of this DLLs constructors.  I can see some.  However, I can't see the ones I need, specifically the PlugIn constructor.

Thanks!
Ramirez Kleinigger Consulting, LLC
http://www.thinkrkc.com/
0 Kudos
Message 3 of 4
(2,639 Views)
I'm starting to think that this may not be a LabVIEW problem after all.  I finally got Visual Studio installed Friday and am looking through the DLL there - it doesn't list the constructors I need either.  I'll have to check with the project leader again...
Ramirez Kleinigger Consulting, LLC
http://www.thinkrkc.com/
0 Kudos
Message 4 of 4
(2,617 Views)