mixed dll doesn't load when using Remote Desktop

  • Thread starter Thread starter Zongwen
  • Start date Start date
Z

Zongwen

Our main exe is native. It has dependency on some other dlls one of which is
mixed dll. The exe load and works fine. But when I try to start the exe from
Remote Desktop, it gives me Application Error popup dialog box, saying "The
application failed to initialize properly (0xc0000005). Click on OK to
terminate the application."

If I recompile the mixed dll to native dll by comment out the managed calls
and turning off CLR compiler flag, the exe can be started from Remote Desktop.

Really have no clue what's the difference comparing running locally vs.
running from Remote Desktop? This is a big problem for our product. Any
help/reply would be greatly appreciated.

Zongwen
 
I tried to lunch the app using VNC and it works. Why Remote Desktop doesn't
work? What is the difference?

We have been looking into this for several days with no clue. Any help
would be appreciated!

Zongwen
 
Back
Top