Help Related To ActiveX

Hi,

I am new to ActiveX and i created my first control today. It compiled succesfully and i was able to set a few properties in the ActiveX Control Test Container. It worked fine there. Then , i created a new dialog based application and tried to use my control there. It compiled without any errors, but when i use the Set methods of my control , i get some warnings like these.

Warning: constructing COleException, scode = DISP_E_MEMBERNOTFOUND ($80020003).
First-chance exception in TestGraphControl.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
Warning: Uncaught exception in WindowProc (returning 1).

What are these ? And how do i rectify them ? A message box also pops up telling me something, but as the OS here is in Korean, i cant make head or tail out of it. I hope you guys can help me soon. :(

If the answer REALLY helps and if you want to, you can Rate it.
Visit http://www.geocities.com/contactgirish/homepage.html for some VC++ Links & Notes.[b]All Luck,
V.Girish
[1043 byte] By [VGirish] at [2007-11-17 0:01:35]
# 1 Re: Help Related To ActiveX
Hi,

My activex control worked perfectly fine until i added the lineSetTimer(1,10,NULL);

1) Now the control compiles fine and runs fine in the test container.

2) But, when i add it to another dialog based application, it gives me assertion errors.
Whats the reason ?

I am new to ActiveX programming and i would be glad if someone can give me a solution as soon as possible.

If the answer REALLY helps and if you want to, you can Rate it.
Visit http://www.geocities.com/contactgirish/homepage.html for some VC++ Links & Notes.[b]All Luck,
V.Girish
VGirish at 2007-11-10 6:40:58 >
# 2 Re: Help Related To ActiveX
Hi,

Solved it FINALLY. Gave me a hell lot of assertions in the debug mode. But when i compiled the .ocx in the release mode and used it, it worked PERFECTLY FINE.

I still wonder why it gave me those silly assertions in the debug mode :-/ ???

If the answer REALLY helps and if you want to, you can Rate it.
Visit http://www.geocities.com/contactgirish/homepage.html for some VC++ Links & Notes.[b]All Luck,
V.Girish
VGirish at 2007-11-10 6:41:58 >
# 3 Re: Help Related To ActiveX
Hi Girish
I got the same kind of messages you were getting like

Warning: constructing COleException, scode = DISP_E_MEMBERNOTFOUND ($80020003).

and in addition I was getting this message

Error: not enough information in DocTemplate to register OLE server.

Then I saw this posting of yours and built mine too in Release mode and it started working for me too.

But does it mean that there is no problem in the application?
Did you find out anything more about why this is happening.

- Murali
asmk_imr at 2007-11-10 6:43:07 >
# 4 Re: Help Related To ActiveX
I am having the same problem - using an Active-X component (glg.ocx) in my application. Are there any solutions to this problem?
ken pat at 2007-11-10 6:44:10 >