| [aus-dotnet] DllImport |
- From: Stephen
- Subject: [aus-dotnet] DllImport
- Date: Thu, 02 Dec 2004 10:02:21 +1100
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I am trying to call functions in a C Dll using DllImport. When I hard code the path to the Dll - everything works fine. This is not ideal however, as each site might have the Dll in a different path. The problem is that DllImport expects a constant for the Dll/Path. Any ideas on how to pass this path variable to DllImport. Otherwise is there an alternative to DllImport? I have seen some exmaples of Win32.LoadLibraryEx but they only ever utilised the Win32 API so I am not certain of its functionality. Thanks S. -- Mercantile Systems http://www.mspl.com _________________ You are a part of the Australian "dotnet" mailing list. To unsubscribe send "unsubscribe dotnet" or to re-subscribe send "subscribe dotnet Your Name" in the body of the email to: imailsrv@xxxxxxxxxxx List managed by: http://www.stanski.com
(Click here for more information on the aus-dotnet mailling list)
- Prev by Date: RE: [aus-dotnet] ASP.NET Server Side Validation
- Next by Date: Re: [aus-dotnet] ASP.NET Server Side Validation
- Previous by thread: RE: [aus-dotnet] ASP.NET Server Side Validation
- Next by thread: RE: [aus-dotnet] DllImport
- Index(es):
