im trying to do an Atl Service in VS2008. I use the Atl Project Wizard and select Service (EXE). Then I add one AtlSimple Object. Compile & Register via /RegServer
From a client application I can CoCreate the AtlObject inside my .exe.
The Problem:
As soon as I register my service with cmd option -Service, I can no longer CoCreate the AtlObject. Any call to CoCreateInstance will run into a timeout and fail with 0x80080005 - "Server execution failed".
What am I doing wrong? Any ideas?
See attached my test project.
To reproduce:
rebuild AtlServerIII
start AtlClient
==>ok
run AtlServerIII -Service
start AtlClient
==>timout & error in CoCreateInstance
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.