Hello
i have a dll in GAC i'm loading this dynamically at run time, with the
following code
assembly = Assembly.Load("DynamicDll, Version=1.0.0.0,
Culture=neutral, publicKeyToken=d7fb0eda5160caf3" );
Type type = assembly.GetType("DynamicDll.DynamicClass");
object[] arguments = new object[] { txtUserText.Text };
object ibaseObject = Activator.CreateInstance(type);
i have developed a console application, the code runs successfully,
but i have another situation that i'm trying to develop .Net component
(Activex) that trying to access this dll from the client machine GAC
the code fails in the last line (Activator.CreateInstance(type);) with
the "Attempt to access the method failed"
any advice?
Thanks,
Bernaba
bernaba - 26 Mar 2007 16:51 GMT
> Hello
>
[quoted text clipped - 17 lines]
> Thanks,
> Bernaba
i found the error and i fixed it
Thanks,
Bernaba
Phill W. - 27 Mar 2007 12:22 GMT
> i found the error and i fixed it
Good for you!
Care to share /what/ the problem was?
What you /did/ to fix it?
Just in case, you know, someone else happens to have the same problem??
Regards,
Phill W.