Click here to Skip to main content
15,915,509 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Difference between ATL and COM Pin
Kevin McFarlane29-Oct-04 2:00
Kevin McFarlane29-Oct-04 2:00 
GeneralRe: Difference between ATL and COM Pin
ThatsAlok29-Oct-04 20:41
ThatsAlok29-Oct-04 20:41 
GeneralRe: Difference between ATL and COM Pin
Monty229-Oct-04 2:05
Monty229-Oct-04 2:05 
GeneralRe: Difference between ATL and COM Pin
User 2155971-Nov-04 19:07
User 2155971-Nov-04 19:07 
GeneralSetting checked items in a CTreeViewCtrl Pin
retro_coder28-Oct-04 23:24
retro_coder28-Oct-04 23:24 
GeneralRe: Setting checked items in a CTreeViewCtrl Pin
Jack Puppy16-Nov-04 1:24
Jack Puppy16-Nov-04 1:24 
GeneralRe: Setting checked items in a CTreeViewCtrl Pin
retro_coder16-Nov-04 17:55
retro_coder16-Nov-04 17:55 
GeneralCOM Out-Proc Exe Issue Pin
DeepakSharma28-Oct-04 1:51
DeepakSharma28-Oct-04 1:51 
HI All,

My problem is related to the COM out-proc exe.
I have a COM server(EXE) which has 2 interfaces:-

ISingletonTest - This inteface acts like an entry point for the server.The component class is made singleteon by using the DECLARE_CLASSFACTORY_SINGLETON().This will be created only once.There is function getTest() in this interface which returns the pointer to second interface(ITest). Now as cllient only passes the uninitialized pointer of ITest , i make a call to CoCreateInstance() for intiliaizing the CTest component class.

The problem is when i call the function getTest(ITest *pVal) and i do some work and set this pointer to null it calls its destructor but it doesn't fress the main interface i.e ISingletonTest pointer.
As a result my out-proc exe never gets unloaded.

Ina nutshell could you explan why the module gets locked when i create a COM object in the process of my COM server.Is there any specific care to be taken care of while doing such programming.

Please provide your suggestions as soon as possible.I have strucked badly on this problem.

Thanks in advance.

Deepak
Generalauto_ptr assignment and VC7 warning Pin
Rob Caldecott28-Oct-04 1:45
Rob Caldecott28-Oct-04 1:45 
GeneralRe: auto_ptr assignment and VC7 warning Pin
Nemanja Trifunovic28-Oct-04 3:13
Nemanja Trifunovic28-Oct-04 3:13 
GeneralRe: auto_ptr assignment and VC7 warning Pin
Rob Caldecott28-Oct-04 3:21
Rob Caldecott28-Oct-04 3:21 
GeneralRe: auto_ptr assignment and VC7 warning Pin
Rob Caldecott28-Oct-04 3:59
Rob Caldecott28-Oct-04 3:59 
GeneralRe: auto_ptr assignment and VC7 warning Pin
Nemanja Trifunovic28-Oct-04 5:48
Nemanja Trifunovic28-Oct-04 5:48 
GeneralToolbar for Windows Explorer Pin
iffi99227-Oct-04 23:25
iffi99227-Oct-04 23:25 
Generalvector<HANDLE> to CONST HANDLE *handles Pin
Malcolm Smart27-Oct-04 2:12
Malcolm Smart27-Oct-04 2:12 
GeneralRe: vector<HANDLE> to CONST HANDLE *handles Pin
Nemanja Trifunovic27-Oct-04 2:25
Nemanja Trifunovic27-Oct-04 2:25 
GeneralRe: vector<HANDLE> to CONST HANDLE *handles Pin
Malcolm Smart27-Oct-04 3:11
Malcolm Smart27-Oct-04 3:11 
GeneralWTL child window tabbing order Pin
nemo26-Oct-04 5:03
nemo26-Oct-04 5:03 
GeneralRe: WTL child window tabbing order Pin
Igor Vigdorchik26-Oct-04 14:42
Igor Vigdorchik26-Oct-04 14:42 
GeneralRe: WTL child window tabbing order Pin
Michael Dunn27-Oct-04 7:07
sitebuilderMichael Dunn27-Oct-04 7:07 
GeneralRe: WTL child window tabbing order Pin
Pharago22-Apr-05 1:45
Pharago22-Apr-05 1:45 
Generalcan't locate ATL .h file in Visual Studio Pin
mattroos25-Oct-04 13:27
mattroos25-Oct-04 13:27 
GeneralRe: can't locate ATL .h file in Visual Studio Pin
User 21559725-Oct-04 20:02
User 21559725-Oct-04 20:02 
GeneralRe: can't locate ATL .h file in Visual Studio Pin
mattroos31-Oct-04 13:28
mattroos31-Oct-04 13:28 
GeneralRe: can't locate ATL .h file in Visual Studio Pin
User 21559731-Oct-04 17:30
User 21559731-Oct-04 17:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.