Click here to Skip to main content
15,900,816 members
Home / Discussions / COM
   

COM

 
AnswerRe: Serial Port Simulation Pin
Roger Stoltz5-Nov-08 22:05
Roger Stoltz5-Nov-08 22:05 
QuestionOutlook Addin Pin
Member 36453113-Nov-08 6:03
Member 36453113-Nov-08 6:03 
AnswerRe: Outlook Addin Pin
Rajasekharan Vengalil4-Nov-08 10:19
Rajasekharan Vengalil4-Nov-08 10:19 
AnswerRe: Outlook Addin Pin
Randor 5-Nov-08 10:30
professional Randor 5-Nov-08 10:30 
QuestionNot sure how to do this(or if you can), COM object and vb6 and c++ stuff Pin
Matthew Cash1-Nov-08 11:42
Matthew Cash1-Nov-08 11:42 
AnswerRe: Not sure how to do this(or if you can), COM object and vb6 and c++ stuff Pin
Rajasekharan Vengalil4-Nov-08 10:15
Rajasekharan Vengalil4-Nov-08 10:15 
GeneralRe: Not sure how to do this(or if you can), COM object and vb6 and c++ stuff Pin
Matthew Cash4-Nov-08 18:48
Matthew Cash4-Nov-08 18:48 
QuestionCOM/DCOM singleton behavior not working [modified] Pin
ToriHino200830-Oct-08 11:31
ToriHino200830-Oct-08 11:31 
For an application running on two separate machines I use DCOM to communicate. On system 1 a CoClass exists, hosted in a COM server which acts as a singleton (using DECLARE_CLASSFACTORY_SINGLETON ATL). This CoClass is created from system 2 through DCOM, but also local by system 1.

Despite using the singleton classfactory still two instances of the CoClass exist in running server (one for all local system 1 clients, and one for all dcom clients). I've tried changing a number of security settings through DCOMCnfg but this didn't help (sometimes even ended up with two servers next to each other D'Oh! | :doh: ).

Strange thing is that when the CoClass is first created through DCOM and later by the local user it all seems to work. The other way around however always creates two instances. Unfortunately both systems can be switched on or off seperately so the starting order isn't defined.

Current settings are:
Authentication Level - Connect
Impersonation Level - Identify
Identity - This user (same user as the local on system 1 also CoCreating the CoClass)

Both systems are using Windows XP SP2.

Anyone got any idea on why this doesn't work ( and hopefully knows how to solve ) ??

modified on Thursday, October 30, 2008 6:25 PM

Questionbatch file writting commands Pin
coloradopad28-Oct-08 17:57
coloradopad28-Oct-08 17:57 
QuestionISpoolerHook Pin
Dr. Kelwin28-Oct-08 14:47
Dr. Kelwin28-Oct-08 14:47 
QuestionEditable datagrid validation. Pin
udaykatakam27-Oct-08 9:36
udaykatakam27-Oct-08 9:36 
QuestionHow to regsvr32 ***.ocx successful? Pin
huangdingjun25-Oct-08 16:29
huangdingjun25-Oct-08 16:29 
AnswerRe: How to regsvr32 ***.ocx successful? Pin
Wes Aday25-Oct-08 19:00
professionalWes Aday25-Oct-08 19:00 
GeneralRe: How to regsvr32 ***.ocx successful? Pin
huangdingjun27-Oct-08 1:26
huangdingjun27-Oct-08 1:26 
GeneralRe: How to regsvr32 ***.ocx successful? Pin
Rajasekharan Vengalil4-Nov-08 9:29
Rajasekharan Vengalil4-Nov-08 9:29 
QuestionVB 6, ASP and COM Pin
indian14322-Oct-08 23:31
indian14322-Oct-08 23:31 
QuestionSystem.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 8007000e. Pin
blakshmi21-Oct-08 22:44
blakshmi21-Oct-08 22:44 
AnswerRe: System.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 8007000e. Pin
User 21559724-Oct-08 0:16
User 21559724-Oct-08 0:16 
QuestionAutoformat an Excel file and import it into Sql Sever 2000 Pin
Nitin Raj21-Oct-08 22:03
Nitin Raj21-Oct-08 22:03 
QuestionMAPI hooks Pin
Dr. Kelwin21-Oct-08 14:55
Dr. Kelwin21-Oct-08 14:55 
QuestionCrashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Martin081521-Oct-08 2:07
professionalMartin081521-Oct-08 2:07 
AnswerRe: Crashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Ernest Laurentin21-Oct-08 7:55
Ernest Laurentin21-Oct-08 7:55 
GeneralRe: Crashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Martin081522-Oct-08 0:59
professionalMartin081522-Oct-08 0:59 
AnswerRe: Crashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Martin081522-Oct-08 4:46
professionalMartin081522-Oct-08 4:46 
GeneralSolved - Re: Crashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Martin081528-Oct-08 23:07
professionalMartin081528-Oct-08 23:07 

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.