[Python.NET] Invitation to connect on LinkedIn

2009-09-04 Thread Navneet Khanna
LinkedIn I'd like to add you to my professional network on LinkedIn. - Navneet Confirm that you know Navneet Khanna https://www.linkedin.com/e/isd/717741405/EUSwjAQx/ Every day, millions of professionals like Navneet Khanna use LinkedIn to connect with colleagues,

Re: [Python.NET] PythonDotNet Digest, Vol 67, Issue 3

2009-06-11 Thread navneet khanna
Iron Python is used to use the dll created in .net. Dlls created in .net are of different format as that of c, c++ dll. Regards On Thu, Jun 11, 2009 at 3:30 PM, wrote: > Send PythonDotNet mailing list submissions to >[email protected] > > To subscribe or unsubscribe via the World W

[Python.NET] concept of creating structures in python

2008-12-11 Thread navneet khanna
Hello Everybody I want to create a structure within a structure i.e. nested structures in python. I tried with everything but its not working. my code is like this: class L(Structure): def __init__(self,Name='ND',Addr=0,ds_obj = D()): self.Name = Name self.Addr = Addr

[Python.NET] Where does the clr in IronPython look the dll

2008-12-04 Thread navneet khanna
Hello Everybody I am trying to import dll with clr.AddReference("TCdll") I am getting the following error. Traceback (most recent call last): File "", line 1, in clr.AddReference("TCdll") FileNotFoundException: Unable to find assembly 'TCdll'. at Python.Runtime.CLRModule.AddReference(St

[Python.NET] TypeError: not enough arguments

2008-12-04 Thread navneet khanna
Hello Everbody I have imported a class from vb.net dll in Python. I am able to import all the functions, but its showing such error when trying to access it. g() is a simple function in dll which takes no argument but returns a string. print Class1.g() Traceback (most recent call last): File "

[Python.NET] Access functions in dll class

2008-12-03 Thread navneet khanna
Hello Everybody I am able to import the dll and able to access the class of the dll. But when I am trying to access the methods in the dll its showing error. #Class1 is the class in dll and next is the function. Class1.Bin_To_Dec("11") Traceback (most recent call last): File "", line 1, in

[Python.NET] Problem loading vb.net DLL in Python

2008-12-03 Thread navneet khanna
Hello Everybody I am trying to load vb.net dll in Python, but its showing errors. >>> from ctypes import * >>> dll = windll.Userdll >>> dll >>> dll_function1 = dll.xml_load("C:\test.xml") Traceback (most recent call last): File "", line 1, in dll_function1 = dll.xml_init("C:\test.xml")