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