Error when C# calls C++ dll that calls another C++ dll

Error when C# calls C++ dll that calls another C++ dll

Post by bGVzdGV » Sun, 20 Jun 2004 04:46:01


I get the error "Object reference not set to an instance of an object" when I try to execute an asp.net app program that calls one C++ dll, which then calls another C++ dll. However, if I make my C# program just a regular command line program, then all dlls are called just fine and the program runs great, so I don't think it's related to creating instances of anything to operate on.

Is this due to permissions inside of the Inetpub\wwwroot\ folder that don't let the last dll to be called to be accessed or something? Because in the other, regular C# program, I just put the two other C++ dlls into the right directory and everything was created just fine.

any examples/avdice/hints are very appreciated
-lesterZ