Sanghyeon: Many thanks for your help. It worked. One more help related to this thread, please; how would you write the next C# code in Ipy or at least, would you give me some guidelines. I especially have difficult to represent the line: IADsLargeInteger largeInteger = new LargeInteger();
using ActivedsNET; public static IADsLargeInteger GetLargeInteger(long value) { IADsLargeInteger largeInteger = new LargeInteger(); largeInteger.HighPart = (int) (value << 32); largeInteger.LowPart = (int) (value & 0xFFFFFFFF); return largeInteger; } Thank you again!! Vizcayno. On 20 oct, 09:37, "Sanghyeon Seo" <[EMAIL PROTECTED]> wrote: > 2007/10/20, Vizcayno Tamparantan <[EMAIL PROTECTED]>: > > > >>> import clr > > >>> clr.AddReferenceToFile("activedsNET.dll") #Seems not be problem here > > >>> dir(activedsNET) > > Traceback (most recent call last): > > File , line 0, in ##245 > > NameError: name 'activedsNET' is not defined > > > >>> dir() > > ['__builtins__', '__doc__', '__name__', 'clr', 'sys'] #ActivedsNET is not > > showed > > Adding the reference and importing the namespace are separate steps. > Therefore, to use System.Xml namespace contained in System.Xml.dll, > you do: > > import clr > clr.AddReference('System.Xml') > import System.Xml > > Referenced assemblies may contain multiple namespaces. > > -- > Seo Sanghyeon > _______________________________________________ > Users mailing list > [EMAIL PROTECTED]://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com