I use the listings package to put some source code im my document.
The problem is, when i set the fontfamiliy to \ttfamily with basicstyle = \ttfamily, then the syntax isn't highlighted any more.
This are the settings for the package:
Are you using the current version of the listings package? I also use that package and this never happened to me before.
Do you use the lstset command in the preamble? (and why 3 separate lstset commands?)
EDIT:
I just noticed you might not be using the lstlisting command correctly, because you apparently have one option too many. I think
there's no bold typeface of the cmtt font, the standard Computer Modern Typewriter font, have a look here in the UK TeX FAQ.
One possible solution is to use a monospaced font that provides a bold typeface, like courier, just try:
Ah, that's why it never happened to me, I've been using the Bitstream Vera Mono font. (which is a very nice monospaced font imho, theres also a latex package called beramono)