I have a problem. Don't know the exact reason.

I have created an MFC project which has a default dialog which is having Shockwave player ActiveX. This dialog is derived as

Code:
class MyClass : public CAxDialogImpl<MyClass>, public IDispEventImpl<IDC_SHOCKWAVEFLASH1, MyClass>
When I run this project or exe it get's load fine.

But when my setup runs it by choosing "Launch Now" option after successful install then it does not run. DoModal() returns -1 at this time.

While if I run it by "desktop shortcut" or "program files" shortcut then it runs fine again.

Any suggestion or solution.