Compilation error C3702 "ATL is required for COM events"
-
I'm getting this error in ATL 7.0 trying to capture COM events from another library. I've researched this error on the web and it says to make sure you've included several header files. I've included all of hte header files (atlbase,atlcom) and I've defined ATL_ATTRIBUTES above them. So far I've had no success in removing the error. Any ideas? Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n
-
I'm getting this error in ATL 7.0 trying to capture COM events from another library. I've researched this error on the web and it says to make sure you've included several header files. I've included all of hte header files (atlbase,atlcom) and I've defined ATL_ATTRIBUTES above them. So far I've had no success in removing the error. Any ideas? Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n
I fixed this problem in a hackish way. I created a new ATL project and copied all of the code over to the new project and it compiled fine. The original project did not include ATL by default. I added it to the project settings later. The events suggest to me that in some way I failed to add ATL support properly. So what is the proper way to add ATL support to a project that formerly did not have it? Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n