mixed dll doesn't load when using Remote Desktop

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
 
Z

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top