more involved than just these 3 machines? Like a modem and a wireless router and a (wireless) network. Can you tell the full setup in stead of just the three end-points?
You post in the Mac forum. Why do you think this is a Mac problem and not a Windows problem?
Kees
Hi everyone, I have iMac, MacBook and PC in my house and I want to make a wireless connection in the whole building. I have my iMac connected by cable and in network preferences I enabled internet sharing using WEP password. It works fine with my MacBook, but my PC can only recognize it but cannot connect. Thanks for any response!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic