Jump to content
  • Advertisement
Sign in to follow this  
cignox1

Windows Vista/7 and services interaction with desktop

This topic is 2525 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, I know it is generally a bad idea, but before starting to judge, read what follows: :-)

We are using an api to access a DMS. The api uses com and creates small windows when the code issues queries to the server.
Now I have been asked to write a service listening for soap queries. When the service receives a soap call, it performs the relative operation on the server.
The problem is that those operations fail. I suppose that the new services session 0 'feature' prevents the com layer from creating the window object (I'm quite positive that this is the reason, still investigating though), so my question is:

-is there a way to make 'allow service to interact with desktop' work in vista/seven?

In case of a negative answer I could try different options (i.e. the service runs a common app which does the work) but I fear I would most probably face other related issues, so if I can stop that now I would be happier.

Thank you!

Share this post


Link to post
Share on other sites
Advertisement
A quick search found this which does indeed suggest launching a non-service program using CreateProcessAsUser() and communicating with it.

Share this post


Link to post
Share on other sites
Mmm, I've seen several sites, but I don't belive to have seen that very page. Looks promising thought. Tomorrow at work I will most certainly take a look at it.

Thank you!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!