
Problem to add ATL support tp a MFC project
Hello,
I hope someone can help me with this problem.
I try to discripe my problem.
Our main project has the name "office system" ( with a space ). Now I
have tried to add ATL Support to our project ( Insert->New ATL Object
and answer Yes ).
After I have added ATL Support I can not longer compile the project.
The problem is that the midl compiler does not create the files "Office
System_i.h" and "Office System_i.c".
I have tested it with some other test projects. I created a new project
called "test test" and I get the same error. Then I have created a
project called "test_test" and it worked.
Its seems, that's it has something to do with the space in the project
name.
Do someone know what I must change in our project to get the midl
compiler working? I don't want to create a new project and copy the old
files, because its a very huge project and it is too much work to change
the whole project.
You can easily reproduce the error.
-> create a project ( MFC exe, document container ) with a space in the
project name
-> Add atl support
-> build the project
Thanks for your help
Olaf