Click here to Skip to main content
15,914,594 members
Home / Discussions / COM
   

COM

 
QuestionCOM Details Pin
ngrj12-Feb-06 13:47
ngrj12-Feb-06 13:47 
AnswerRe: COM Details Pin
George L. Jackson13-Feb-06 14:13
George L. Jackson13-Feb-06 14:13 
QuestionRegSvr32 fails on some hosts Pin
Marshall10-Feb-06 12:14
Marshall10-Feb-06 12:14 
AnswerRe: RegSvr32 fails on some hosts Pin
Michael Dunn10-Feb-06 12:30
sitebuilderMichael Dunn10-Feb-06 12:30 
GeneralRe: RegSvr32 fails on some hosts Pin
Marshall10-Feb-06 12:45
Marshall10-Feb-06 12:45 
QuestionAPI to enable/disable Windows SP2 Firewall on a given connection? Pin
Carl Mirabel10-Feb-06 9:40
Carl Mirabel10-Feb-06 9:40 
AnswerRe: API to enable/disable Windows SP2 Firewall on a given connection? Pin
vasallo11-Feb-06 7:42
vasallo11-Feb-06 7:42 
QuestionDCOM exe remote server Pin
FearlessBurner9-Feb-06 6:31
FearlessBurner9-Feb-06 6:31 
Although I have been using COM for some time now, I am trying to do something something different from my usual experience and I have run into a problem that I am unable to solve at the moment, and would be grateful for any assistance.

My intention is to have a singleton EXE COM server running on a LAN connected computer. This server will be started once, and then remote users can connected to it. I am running currently as the interactive user, but may change this to a service at a later date. If the remote and local computers are both logged in as the same user, then everything works fine as expected.

However, if a different user runs the client, and tries to access the running version on the server then there is no response, and instead another instance of the server program is started despite supposed to being a singleton.

Please could anyone account for the difference between in behaviour? I have tried many different security configurations including administrator, but have been unable to overcome this problem. The security initialization code reads

CoInitializeSecurity(NULL, -1, NULL, NULL, RPC_C_AUTHN_LEVEL_NONE,<br />
     RPC_C_IMP_LEVEL_IMPERSONATE, NULL, EOAC_NONE, NULL);<br />


which usually overcomes every problem for me. Thanking anyone in advance who gives this some attention.
AnswerRe: DCOM exe remote server Pin
FearlessBurner17-Feb-06 7:09
FearlessBurner17-Feb-06 7:09 
QuestionCOM evolution question Pin
john.angel9-Feb-06 5:50
john.angel9-Feb-06 5:50 
AnswerRe: COM evolution question Pin
QuickDeveloper13-Feb-06 17:21
QuickDeveloper13-Feb-06 17:21 
GeneralRe: COM evolution question Pin
john.angel14-Feb-06 9:07
john.angel14-Feb-06 9:07 
QuestionATL ActiveX flicker-free Pin
Andrey20068-Feb-06 23:20
Andrey20068-Feb-06 23:20 
QuestionWeb Control Development Pin
kent_plaza8-Feb-06 22:36
kent_plaza8-Feb-06 22:36 
QuestionHow to convert ATL COM DLL to ATL COM EXE Pin
Balkrishna Talele8-Feb-06 21:49
Balkrishna Talele8-Feb-06 21:49 
AnswerRe: How to convert ATL COM DLL to ATL COM EXE Pin
Lim Bio Liong9-Feb-06 3:58
Lim Bio Liong9-Feb-06 3:58 
QuestionI can't make C++ client access the C# server Pin
Fisico8-Feb-06 19:59
Fisico8-Feb-06 19:59 
AnswerRe: I can't make C++ client access the C# server Pin
Fisico8-Feb-06 21:51
Fisico8-Feb-06 21:51 
GeneralRe: I can't make C++ client access the C# server Pin
Lim Bio Liong9-Feb-06 3:50
Lim Bio Liong9-Feb-06 3:50 
QuestionPassing data to an out of process server. Pin
mtwombley8-Feb-06 9:14
mtwombley8-Feb-06 9:14 
AnswerRe: Passing data to an out of process server. Pin
Roger Stoltz8-Feb-06 21:19
Roger Stoltz8-Feb-06 21:19 
QuestionHow to subscribe to SENS events from a COM DLL? Pin
ChrisRudd8-Feb-06 1:50
ChrisRudd8-Feb-06 1:50 
QuestionClient connect to COM sink - if sink app is killed - how detect? Pin
pschiff7-Feb-06 16:41
pschiff7-Feb-06 16:41 
QuestionActiveX DLL in VC++ Pin
MrChefman7-Feb-06 1:10
MrChefman7-Feb-06 1:10 
QuestionShared Add-In for MS Office does not affect at all Pin
czaval6-Feb-06 20:40
czaval6-Feb-06 20:40 

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.