QUOTE(SueHM @ Jun 20 2007, 01:05 PM)

They sounds the same when played, but naming the intervals is about the way they are spelt ie the letter names of the notes. You start by counting the gap between the notes by their letter names so C to E is a 3rd. Then you fiddle about with the sharps and flats etc to decide if it's diminished, perfect or whatever. Does that make sense?
There are lots of ways of writing the same sound! The different ways crop up because you are writing in different keys, or to make the music easier to read.
Fx and G sound the same on the piano, which has only 12 notes per octave, but there has been at least one experimental keyboard* that gives you different pitches for them. Organs were built in the 16th and 17th centuries, some still in existence, with split (fore and aft) black keys so that e.g. you played the front key for C#, Eb, F#, G# and Bb, and the back keys for Db, D#, Gb, Ab and A#. They would have been tuned in one of the mean tone systems, giving more accurate tuning of thirds, compared to equal temperament, at the expense of slightly less accurate perfect fifths, and the splits extended the range of keys that could be used without horribly sour intervals.
On orchestral strings, woodwind and brass, in tonal music, good players instinctively play different pitches for enharmonic equivalents, so as to make the chords sound right. The standard fingering of the upper strings in a given position is to use forward extension for sharps and backward extensions for flats. Think of the sequences G A Bb in G minor and G A# B in B minor, playing the G with first finger on the D string: Bb gets 3 and A# gets 2.
* It has 53 keys per octave, and used to be on display in the Kensington Science Museum, but I haven't seen it lately.