Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 20th, 2003, 05:15 AM
Registered User
 
Join Date: Oct 2003
Location: , , United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default COM exe server returns CO_E_SERVER_EXEC_FAILURE

Hi,

An application running as the Interactive User acts as COM server.
A service spawns another application - therefore running under the System account - that tries to create an instance of the running COM server.

The spawned application fails with CO_E_SERVER_EXEC_FAILURE.

Additional info:
- The COM server uses TypeLib marshalling.
- A test application running as the logged on user succeeds in creating the instance of the COM object.
- The COM server is a former MFC app that has been converted to use ATL.
- Everything was working fine when the marshalling was done using a proxy/stub dll.

I have a feeling that is something related to security, but I'm quite surprised not to see 'access denied' rather than 0x80080005.

Any ideas? Thanks,

Alberto
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent help! Index Server Query returns 0 records rakeshsharma Internet Information Services 0 August 29th, 2006 12:35 AM
invoke .exe from webservice on server Mk_CSharp .NET Web Services 3 January 17th, 2005 08:10 AM
Exe Server without using ATL science_daan Visual C++ 0 April 6th, 2004 05:20 AM
Exe Server without using ATL science_daan C++ Programming 0 April 6th, 2004 01:07 AM



All times are GMT -4. The time now is 10:50 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.