Hello All,
After check the box create as com server in wizard , than I try to add a ATL simple object into the project(I think I need add the simple object otherwise how could I implement a com class), but VS gives me and error "The project needs to include ATL support", this moment I think I need add "ATL support " first, but after that , the add ATL simple object still gives me error of need ATL support.
My goal is use WTL(cause I need a UI) to build a out process com , how should i do ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem is that the "Add ATL Simple Object" wizard expects new module classes and WTL uses CComModule derived one.
It would be possible to reimplement WTL to use new module classes, but there is one significant restriction - COM server project would not be able to use multiple .cpp files.
I would like to use this opportunity to ask everybody what do they think about moving WTL to use new module classes, and if that resriction would be acceptable.
Cheers,
Nenad
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello All,
After check the box create as com server in wizard , than I try to add a ATL simple object into the project(I think I need add the simple object otherwise how could I implement a com class), but VS gives me and error "The project needs to include ATL support", this moment I think I need add "ATL support " first, but after that , the add ATL simple object still gives me error of need ATL support.
My goal is use WTL(cause I need a UI) to build a out process com , how should i do ?
Hi Erik,
The problem is that the "Add ATL Simple Object" wizard expects new module classes and WTL uses CComModule derived one.
It would be possible to reimplement WTL to use new module classes, but there is one significant restriction - COM server project would not be able to use multiple .cpp files.
I would like to use this opportunity to ask everybody what do they think about moving WTL to use new module classes, and if that resriction would be acceptable.
Cheers,
Nenad
Anybody has an opinion about this? It would be really useful to hear something...