Assembly.LoadFrom strange behaviour

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Juan (juan_at_tata.net)
Date: 01/28/05


Date: Fri, 28 Jan 2005 11:47:44 +0100

Hello

I'm Developing for PDA and usingAssembly.LoadFrom("") method, but obtaining
a strange behavoiur.

If i use an old DLL I compiled long time ago, the method correctly loads
the assembly dinamically, but If i use now compiled DLL, instead of return
the DLLs assembly it returns my EXE assembly, without giving any error.

The Path and DLL localization is correct.

Anybody can help me?

thanks
Juan



Relevant Pages

  • Assembly.LoadFrom error?
    ... I'm Developing for PDA and using Assembly.LoadFromstatic method, ... obtain a strange behavoiur. ... If i use an old DLL I compiled long time ago, the method correctly loads ...
    (microsoft.public.dotnet.framework)
  • Re: Assembly.LoadFrom error?
    ... Where is the Compact Framework GAC? ... is my DLL loaded into it? ... >> If i use an old DLL I compiled long time ago, the method correctly loads ... >> the assembly dinamically, but If i use now compiled DLL, instead of ...
    (microsoft.public.dotnet.framework)
  • Re: Assembly.LoadFrom strange behaviour
    ... Are the assemblies in the gac? ... Has the dll and exe got the same name? ... > If i use an old DLL I compiled long time ago, the method correctly loads ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: How to get imagebase after a DLL gets loaded
    ... within some other .DLL. ... library routine, so that clients of his library routine do not need to ... We are speaking about obtaining and using DLL module's base address ... executing in a DLL is not necessarily the author of the DLL. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Build DLL using gfortran and with open/write/close statements in the code
    ... >> I had no problems after obtaining the latest version of ... >> Cygwin software currently installed on my system. ... > I don't have any problem either (the dll builds fine and I can compile ... > another program and link to this dll). ...
    (comp.lang.fortran)