On Sat, 2003-09-13 at 07:23, Kris Luyten wrote:
> Hi,
> 
> how can I replace:
> =======
> public const string GTK_ASSEMBLY    = "/usr/local/lib/gtk-sharp.dll";
> public const string SYSTEM_ASSEMBLY = "/usr/local/lib/System.dll"; 
> ...
> m_gtkAssembly = Assembly.LoadFrom(GTK_ASSEMBLY); 
> m_systemAssembly = Assembly.LoadFrom(SYSTEM_ASSEMBLY);
> =======

I believe Assembly.LoadFrom always expects a filename, so gtk-sharp.dll
is treated as ./gtk-sharp.dll and nothing else. Use Assembly.Load ().

Peter

-- 
Peter Williams                          [EMAIL PROTECTED]

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to