J
jake.foster
All-
I have a WinForms app written in C# that's doing some COM interop with
Apple iTunes (they have a published COM API). I'm getting a reference
to the COM server and registering some event handlers that respond to
user activities in iTunes. When I run my compiled exe everything
works fine, but when I try to debug from within VS.NET, the events
never fire in my app. Here's what I've tried (with no success):
1. Disabled the "Visual Studio Hosting Process" option in the VS
project (otherwise nothing works at all)
2. Running VS.NET as administrator (no difference)
3. Running the iTunes exe as administrator (no difference)
4. Running both as administrator (no difference)
5. Writting a stub app that only does the eventing to eliminate the
possibility that it's something in my code entirely unrelated to COM
interop that's causing the problem (still no success).
I'm running the following version of VS.NET on Vista Ultimate.
Microsoft Visual Studio 2005
Version 8.0.50727.867 (vsvista.050727-8600)
Microsoft .NET Framework
Version 2.0.50727
Any ideas, suggestions or guidance on how to figure out what's going
on would be most appreciated.
Thanks!
-Jake
I have a WinForms app written in C# that's doing some COM interop with
Apple iTunes (they have a published COM API). I'm getting a reference
to the COM server and registering some event handlers that respond to
user activities in iTunes. When I run my compiled exe everything
works fine, but when I try to debug from within VS.NET, the events
never fire in my app. Here's what I've tried (with no success):
1. Disabled the "Visual Studio Hosting Process" option in the VS
project (otherwise nothing works at all)
2. Running VS.NET as administrator (no difference)
3. Running the iTunes exe as administrator (no difference)
4. Running both as administrator (no difference)
5. Writting a stub app that only does the eventing to eliminate the
possibility that it's something in my code entirely unrelated to COM
interop that's causing the problem (still no success).
I'm running the following version of VS.NET on Vista Ultimate.
Microsoft Visual Studio 2005
Version 8.0.50727.867 (vsvista.050727-8600)
Microsoft .NET Framework
Version 2.0.50727
Any ideas, suggestions or guidance on how to figure out what's going
on would be most appreciated.
Thanks!
-Jake