문제

can i access itunes com interface through c++ based windows services? It is failing at cocreateinstance() function when called from a windows service . As a normal application, same code is working fine. This service is created by converting the this working application. It is working fine for other COMs.

올바른 솔루션이 없습니다

다른 팁

Actually iTunes com always launches iTunes before communicating with it. I tried to verify with other COM interfaces also (like IE and WMP). All were able to interact using windows service but iTunes was not communicating with Windows Service. So my answer is NO. You should not use windows service if you are planning to communicate with iTunes using COM.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top