I am getting the following errors when I build an ATL com with the WInCE device SDK provided by the customer. How can I resolve this issue? I created the workspace with the VS-2005.
1>f:\polycold\testapps\polycoldsmartdevice\polycoldsmartdevice\CmdParser.h(73) : error C2039: 'UpdateRegistry' : is not a member of 'CCmdParser'
1> f:\polycold\testapps\polycoldsmartdevice\polycoldsmartdevice\CmdParser.h(29) : see declaration of 'CCmdParser'
1>f:\polycold\testapps\polycoldsmartdevice\polycoldsmartdevice\CmdParser.h(73) : error C2065: 'UpdateRegistry' : undeclared identifier
By doing a lot of guessing with my crystal ball I will asume that CmdParser is a new ATL COM class you are trying to create. If this is the case, I believe there is a bug in VS ATL wizard that makes WINCE ATL projects not valid. An easy workaround I use for this is to comment out the following:
You should have a similar code on the header file of your ATL class.
There are some comments on this issue in this post.