> ////////////////// > using GrFingerXLib > using System > ... > > I was hoping that a DLL named GrFingerXLib would be available somewhere > in my system (after the installation of the SDK) but there is none. > There are several different files: GrFinger.dll and GrFingerX.dll
C#'s "using" statement has nothing to do with libraries. It refers to a namespace, not a DLL. For the later you need to add the corresponding reference. In Visual Studio we usually do this at compile time by adding the reference of the DLL to the project. In IronPython you add the reference at runtime. You want to look for clr.AddReference samples in the mailing-list archives at: http://lists.ironpython.com/pipermail/users-ironpython.com/ Regards, -H. > > This is what I (naively) attempted: > > C:\IronPython-1.1>ipy > IronPython 1.1 (1.1) on .NET 2.0.50727.832 > Copyright (c) Microsoft Corporation. All rights reserved. > >>> import GrFinger > Traceback (most recent call last): > File , line 0, in <stdin>##9 > File , line 0, in __import__##4 > ImportError: No module named GrFinger > >>> import GrFingerX > Traceback (most recent call last): > File , line 0, in <stdin>##10 > File , line 0, in __import__##4 > ImportError: No module named GrFingerX > >>> import GrFingerXLib > Traceback (most recent call last): > File , line 0, in <stdin>##11 > File , line 0, in __import__##4 > ImportError: No module named GrFingerXLib > >>> > > Hope that is useful. I can make the files available privately if that helps. > > Hugo > _______________________________________________ > Users mailing list > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
