Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I have created a COM DLL using the ATL project (Composite object) which basically has one tree control (which is a part of VS toolbox) within a dialog.

After registering it, I'm trying to insert it in a dialog based MFC/ATL application by using the standard approach of using "Insert ActiveX control" dialog of visual studio.

But the problem here is, even after its successful registration it is not getting listed in the "Insert ActiveX control" dialog.
So I'm not able to insert it in the container dialog.

So, any help on this regard is warmly appreciated.

Couple more details:
1) Both ".idl" and ".rgs" file looks proper.
3) I will share my project if it is needed.

Thanks in advance.

What I have tried:

Alternatives that I've tried and that worked:
In a tool provided by Microsoft to test such controls i.e., "ActiveX control test container"(TSTCON32.exe), my COM DLL is getting listed properly and I'm able to use it.

Alternatives that I've tried and that not worked:
1. Un-registering the DLL and re-registering it back.
2. Rebooting the PC.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900