Home All Groups Group Topic Archive Search About

EETypeLoadException

Author
11 Apr 2007 8:11 PM
Bob
Does anyone know why I would get this error when running the below code?  I
am using C# no c++ at all.

First-chance exception at 0x7c812a5b in myservice.exe: Microsoft C++
exception: EETypeLoadException at memory location 0x0012e1d0..

code...

AssemblyName Name = AssemblyName.GetAssemblyName("c:\myassembly.dll");

Assembly plug = Assembly.Load(Name);

Type[] types = plug.GetExportedTypes(); <-- Exception thrown at this line.


Bob

Author
13 Apr 2007 2:31 PM
Bob
This had to do with one of the references in the assembly being a mismatched
build.

I don't know how Microsoft Claims to have solved "dll hell" I didn't know
the meaning of it until I started developing in .Net.  90% of the issues I
come across are related to versioning.


Show quote
"Bob" <msg***@hotmail.com> wrote in message
news:%23RH7gWHfHHA.4916@TK2MSFTNGP06.phx.gbl...
> Does anyone know why I would get this error when running the below code?
> I am using C# no c++ at all.
>
> First-chance exception at 0x7c812a5b in myservice.exe: Microsoft C++
> exception: EETypeLoadException at memory location 0x0012e1d0..
>
> code...
>
> AssemblyName Name = AssemblyName.GetAssemblyName("c:\myassembly.dll");
>
> Assembly plug = Assembly.Load(Name);
>
> Type[] types = plug.GetExportedTypes(); <-- Exception thrown at this line.
>
>
> Bob
>

AddThis Social Bookmark Button