hai all,
I am new to VC++. I wanted to create a WCE activex controll. I saw the method in a msdn document. and wen i insert a ATL controll and debug it it gave falllowing error

Error 1 fatal error C1189: #error : "Single-threaded COM objects are not properly supported on Windows CE platform, such as the Windows Mobile platforms that do not include full DCOM support.
Define _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA to force ATL to support creating single-thread COM object's and allow use of it's single-threaded COM object implementations. The threading model in your rgs file was set to 'Free' as that is the only threading model supported in non DCOM Windows CE platforms."

I used the default settings ... and wen i defined as said in error it gave all generated code as erro....

Can anybody help me in this regard...

Thanks in advance

Umesh Chandra