Re: Strange file not found exception
- From: RFOG <no@xxxxxxxx>
- Date: Sun, 18 Jan 2009 15:21:34 +0100
George, this error is a variant of your precedent message: you need to
indicate same architecture to all files in project and all DLLs and
Assemblies *must* reside in same directory.
Perhaps you need to change some final folders in solution or copy
files via post-build commands.
On Sun, 18 Jan 2009 05:44:04 -0800, George
<George@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hello everyone,Microsoft Visual C++ MVP
I am writing a managed console application which will invoke native C++ COM
DLL on Windows Server 2003 x64 using PIA interop. The managed console
application is built for "Mixed Platform" debug version and the native COM
DLL is built for x64 debug version. I am using interop to invoke method from
managed code which are exposed from COM code.
I find creating a COM coclass object in managed code is ok, and it is also
ok to call some methods of COM coclass from managed code using the created
coclass object instance. But when I call into a specific method Abc (Abc is
implemented/exposed in COM DLL) from my managed code (FooImpl.dll), there is
exception like this, I am so confused that I did not write any method called
"XmlSerializers". Any ideas to debug further?
(FooImpl is my managed code DLL which will call COM native code, my managed
code console application linked with FooImpl.dll.)
--------------------
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in
FooImpl.dll
Additional information: Could not load file or assembly
'FooImpl.XmlSerializers, Version=1.0.1121.1, Culture=neutral,
PublicKeyToken=null' or one of its dependencies.
The system cannot find the file specified.
--------------------
regards,
George
========================
Mi blog sobre programacion: http://geeks.ms/blogs/rfog
Momentos Leves: http://momentosleves.blogspot.com/
Cosas mias: http://rfog.blogsome.com/
Libros, ciencia ficcion y programacion [Acentos eliminados por encoding]
========================================
La dicha esta constituida por esos huecos cerebrales sin historia.
-- Manuel Vicent.
.
- Follow-Ups:
- Re: Strange file not found exception
- From: George
- Re: Strange file not found exception
- References:
- Strange file not found exception
- From: George
- Strange file not found exception
- Prev by Date: Re: debugging managed code and native code together
- Next by Date: Re: product activation info
- Previous by thread: Strange file not found exception
- Next by thread: Re: Strange file not found exception
- Index(es):
Relevant Pages
|