[
https://issues.apache.org/jira/browse/QPID-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Ross resolved QPID-2088.
-------------------------------
Resolution: Won't Fix
Fix Version/s: JIRA Cleanup
Assignee: Chuck Rolke
This issue has not been updated in more than a year. We've reviewed
it and decided to close it, as part of an effort to keep our issue
database clean and current. If this issue is still affecting you,
please reopen it.
See https://issues.apache.org/jira/browse/QPID-4585 for more
information.
> any service on windows vista linking with c++ qpid client (common & clinet)
> and calling CoInitializeEx to use COM fails to start with "Error 1053 ..."
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-2088
> URL: https://issues.apache.org/jira/browse/QPID-2088
> Project: Qpid
> Issue Type: Bug
> Components: C++ Client
> Affects Versions: 0.5
> Environment: Windows Vista
> Reporter: Nicolae Claudius
> Assignee: Chuck Rolke
> Fix For: JIRA Cleanup
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> Steps that reproduce the problem:
> 1. Create an skeleton widows service ( with main() , ServiceMain(int argc,
> char** argv) , InitService() , ControlHandler(DWORD request) )
> i used the template here: http://www.devx.com/cplus/Article/9857
> 2. Add to the linker the qpid libs (common.lib and client.lib) in Project ->
> Properties -> Linker ( include path and libs )
> 3. Call CoInitializeEx to initialize windows COM with your desired parameters
> (any of them for our purpose), anywhere in your program (for example in main
> or servicemain)
> 4. Register the service with the following console command
> sc create your_service_name binPath=
> "C:\\path_to_your_compiled_exe\your_service.exe"
> 4. Open services.msc from run or console, and start your service (right click
> -> start)
> *** At this point the service tries to start but after about 2 seconds fails
> with the error:
> "Error 1053: The service did not respond to the start or control request in a
> timeley fashion"
> NOTICE
> The error is *only* on Windows Vista, on Windows XP works as desired
> (Notice that you only have to link the libs not necesarily use qpid
> functions, strange...)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]