L
Lee Crabtree
I'm migrating a project from one machine to a newer machine. The
project has several C++/CLI DLLs, as well as a lot of C#. On the older
machine, everything runs. On the newer machine, I get a
System.IO.FileNotFoundException just as I call into a function using a
part of one of the C++ DLLs. Something like this:
public class CSharpThing
{
public CSharpThing()
{
CallUnmanaged();
}
public void CallUnmanaged()
{
//here's an unmanaged call!
}
}
The exception occurs on the line where CallUnmanaged is CALLED, not
where the unmanaged call itself is. That sort of makes me think it's
something to do with the CRT not being found, as the module itself is
being referenced properly.
What really gets me is that the InnerException is null. The FileName is
ALSO null, which is REALLY freaky. What on EARTH am I supposed to take
away from an exception like that?
Lee Crabtree
project has several C++/CLI DLLs, as well as a lot of C#. On the older
machine, everything runs. On the newer machine, I get a
System.IO.FileNotFoundException just as I call into a function using a
part of one of the C++ DLLs. Something like this:
public class CSharpThing
{
public CSharpThing()
{
CallUnmanaged();
}
public void CallUnmanaged()
{
//here's an unmanaged call!
}
}
The exception occurs on the line where CallUnmanaged is CALLED, not
where the unmanaged call itself is. That sort of makes me think it's
something to do with the CRT not being found, as the module itself is
being referenced properly.
What really gets me is that the InnerException is null. The FileName is
ALSO null, which is REALLY freaky. What on EARTH am I supposed to take
away from an exception like that?
Lee Crabtree