Found the problem and omniORBpy now compiles on Windows using VC7. The problem was that this file: omniORB-4.1.0/src/lib/omniORBpy/python/COS/dir.mk contains tab characters below the line that start with "IDLFILES =". I removed those tab characters and it compiled. Olaf