When you compile the file that has the #import statement, the compiler should generate two file 'xxx.tli" and "xxx.tlh" in your output directory. These files will have the C++ declarations.
Also, you say that your COM server is an in-proc server, yet you are importing an .exe? I believe that in-proc servers need to be DLLs.