سؤال

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