473,508 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Conflict between C# and iTunes?

6 New Member
Hy!
This is not a post for asking something.. is more like a remark..
But I would really appreciate some explanations if possible..


I am now building an application with C# from MS Visual Studio 2005. I also listened some music with iTunes 7.1.1.5 When compiling the application I got no errors, but on running this simply does nothing and I get a nice error :)

here is the error:
"Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang."

First, I didn't know what to do, because I've ran the same application 30 minutes ago and worked perfectly:)

The error shows in Program.cs file.. not even in my classes.

So I reboot.. and after the app works again.
Of course, opened iTunes also. The app crashes in the same way as before.
Just closing iTunes and able to eork with my app.

// of course, I tested this with other C# apps before writing this post.

I don't know whether iTunes is responsible for this or the conflict is between win and iTunes. If anybody knows more about this please share some knowledge.
// I found this error only on my compuyer, didn't tested on other systems yet.

I run Microsoft Windows XP Professional SP2, on intel platform.

thanks for reading all this post and please share some info if possible.

Cheers, Maj
Sep 13 '07 #1
2 1661
Shashi Sadasivan
1,435 Recognized Expert Top Contributor
I googles "visual studio itunes" and the very first link says it all.
Cheers.

PS - For some reason i avoided playing iTunes while working on visual studio (memory intensive) rather played my iPod :D, Alarmed at this bug with Mac
Sep 13 '07 #2
Maj
6 New Member
Hello

Thanks for the info, I was really curious what happened there because I got this error yesterday for the first time [before i was using winamp and no problem].

Cheers,
Maj
Sep 14 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
3785
by: Richard Rudie | last post by:
Have any other Windows iTunes users looked at the XML file iTunes uses as its database? (Does iTunes for Mac use an XML file, too?) When I noticed that it was XML, I thought it might be useful, or...
0
1277
by: Jake Barnes | last post by:
I've written a PHP script that makes an RSS feed for some mp3s so that the music studio I work for can offer some of its new music as a podcast. Often, after a podcast episode has gone live, and...
0
1170
by: netrate | last post by:
I am trying to upload my rss xml file to Itunes, but when I go to ADD it asks for Credit Card details? I thought Itunes was free? What is going on? Here is the file :...
0
1288
by: hardikmehta | last post by:
Hello All, :) I m using xml file for itunes. When i gives .php url from itunes then control back to my php page and creates .xml file and return to itunes. Itunes habdle some types of...
0
2335
by: bar10dr | last post by:
What I want to do is get song info from iTunes if the application is running, using the ituneslib API (from Apple). One of the problem is that to check if iTunes is playing any songs I need to...
2
4719
by: jenann50 | last post by:
hi all, i know this is probably a silly question but i dont know how to move my limewire tunes to my itunes folder so that i can download them onto my ipod. also if i have a music cd and load it...
3
3254
by: Denrael | last post by:
I've been playing with the iTunes sdk on windows, and have come across a strange problem. With the following code: import win32com.client iTunes =...
2
1385
by: =?Utf-8?B?YmVubnlnaQ==?= | last post by:
I can't launch iTunes 7.6 using Windows Vista Ultimate. I was using it and it was working fine until it froze up. I ended the task and now it won't launch at all. Things I have tried: 1. ...
16
2048
by: william tanksley | last post by:
I'm trying to convert the URLs contained in iTunes' XML file into a form comparable with the filenames returned by iTunes' COM interface. I'm writing a podcast sorter in Python; I'm using iTunes...
0
7226
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7125
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7049
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7499
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1561
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
422
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.