質問

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