Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem compiling an ATL Web Service

1 view
Skip to first unread message

Paolo Cremonese

unread,
Nov 4, 2009, 5:13:12 AM11/4/09
to
Hi All,
I'm trying to build a simple ATL web service using Visual studio 2005.
I have created the project, added the simple object and the methods.
Building, I get the error:
error C2039: 'UpdateRegistry': is not a member of 'CCERemoteMonitor'
on the line
OBJECT_ENTRY_AUTO(__uuidof(CERemoteMonitor), CCERemoteMonitor)

Any suggestion?
Thank you in advance,
Paolo


Valter Minute [eMVP]

unread,
Nov 4, 2009, 5:28:04 AM11/4/09
to

Did you create an ATL SmartDevice project?
When you add a new class to it the wizard shows also the classes of
desktop ATL applications, if you choose a template for the desktop
version of ATL you may experience this kind of errors at build time.


--
Valter Minute (eMVP)
Training, support and development for Windows CE:
www.fortechembeddedlabs.it
My embedded programming and cooking blog:
www.geekswithblogs.net/WindowsEmbeddedCookbook
Windows Embedded support forums in Italian:
http://social.msdn.microsoft.com/Forums/it-IT/windowsembeddedit/threads
(the reply address of this message is invalid)

Paolo Cremonese

unread,
Nov 4, 2009, 6:16:50 AM11/4/09
to

Yes, I've created an ATL SmartDevice project.
For the class added, I have used the "smart device ATL simple object"

Paolo


"Valter Minute [eMVP]" <valter.minute@_REMOVEME_gmail.com> ha scritto nel
messaggio news:%232qa$lTXKH...@TK2MSFTNGP05.phx.gbl...

Hanti

unread,
Nov 16, 2009, 3:58:02 AM11/16/09
to
This error is ATL Wizard Bug.

Find and Replace like this:

//#ifndef _CE_DCOM ==>>> Comment Out!
DECLARE_REGISTRY_RESOURCEID(IDR_XXXXX)
//#endif ==>>> Comment Out!

"Paolo Cremonese" wrote:

> .
>

0 new messages