[IronPython] How to import my own .net Components
Lloyd Dupont
ld at galador.net
Thu Sep 16 07:09:53 CEST 2004
you shoud first put your lib in the list of loadable library with a call
like
sys.loadLibrary(mylibname)
or something like that......
someone answer the same problem in the topic directX
----- Original Message -----
From: "senthilkumar" <senthilkumar.chockalingam at kla-tencor.com>
To: <users-ironpython.com at lists.ironpython.com>
Sent: Thursday, September 16, 2004 2:40 PM
Subject: [IronPython] How to import my own .net Components
>I have created a .net component and placed in GAC. How do i use or import
> this component and call its methods.
>
> I tried to import as
> from sampleGAC import * , but it gives error like this..
> IronPython.Objects.PythonImportError: can't load sampleGAC
> at IronPython.Objects.module.Import(String fullName, Boolean keepTop)
> at IronPython.Objects.Ops.ImportStar(module mod, String fullName)
> at input_1.Run(Frame frame)
> at
> klatencor.cp.apps.programs.CPythonInterpreter.CPythonInteractiveInterpreter.
> pushCommand(String strCommand) in
> e:\projects\cpythonwizard\cpythoninteractiveinterpreter\cpythoninteractivein
> terpreter.cs:line 39
>
> Please Assist me
> Thanks in advance
> Senthil Kumar
>
> _______________________________________________
> users-ironpython.com mailing list
> users-ironpython.com at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
More information about the Ironpython-users
mailing list