Menu

Create as com server in VC 2017 WTL10

Help
Erik Don
2020-07-31
2020-09-15
  • Erik Don

    Erik Don - 2020-07-31

    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 ?

     
  • Nenad Stefanovic

    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

     
  • Nenad Stefanovic

    Anybody has an opinion about this? It would be really useful to hear something...

     

Log in to post a comment.