Hi,
It would look to me like the gpcifunc.dll is a C dll not a .NET one?
Isn't that what DllImport is for (note I do not know .NET very well - so I
could be wrong).
If it is a C Dll - then what you need to access that method is probably ctypes.
Mark
-Original Message-
From: [EMAIL PRO
in case 2 works fine any clue
Thanks
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 4:04 PM
To: pythondotnet@python.org
Subject: Re: [Python.NET] C# .net dll used in python
>
> While gpci.dll
>
> While gpci.dll is defined in my .net application as
> [DllImport("gpcifunc.dll")]
> unsafe public static extern Int32 gpciOpen (Int32 dReserved) ;
>
Is gpcifunc.dll in your Windows %PATH% environment variable?
_
Python.NET mailing list - P