Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - mixed dll doesn't load when using Remote Desktop

Reply
 
Old 03-27-2009   #1 (permalink)
Zongwen


 
 

mixed dll doesn't load when using Remote Desktop

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

My System SpecsSystem Spec
Old 03-30-2009   #2 (permalink)
Zongwen


 
 

RE: mixed dll doesn't load when using Remote Desktop

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


"Zongwen" wrote:
Quote:

> 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
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Remote desktop can not find remote computer Network & Sharing
Can't login to remote comp. using Remote Desktop Connection on Vis Vista account administration
Remote Desktop problem with remote printers Vista networking & sharing
remote desktop connection? AKA remote access? Vista General
Remote Desktop - Able to have one user logged in locally and one user via remote desktop? Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46