Question

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.

Pas de solution correcte

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top