Hi,
In my activex control i tried to add new property page everything
compiled fine. But the problem is while registering the control it is
showing an assertion failure. while debugging i found that the problem
is with DECLARE_PROPPAGEIDS. While i comment this thing in the
controls header file, no assertion failure is throwing up. Any idea
what is causing the problem?

DECLARE_PROPPAGEIDS(CMyCtrl)

BEGIN_PROPPAGEIDS(CMyCtrl, 1)
PROPPAGEID(CMyCtrlPropPage::guid)
END_PROPPAGEIDS(CMyCtrl)

I tried changing the guids when i encountered this error. But it is of
no effect.