Click here to Skip to main content
15,916,180 members
Home / Discussions / COM
   

COM

 
GeneralRe: add-ins in c++ using the DTE-object Pin
schaereran@gmx.net16-Jan-03 4:55
schaereran@gmx.net16-Jan-03 4:55 
GeneralRe: add-ins in c++ using the DTE-object Pin
Stephane Rodriguez.16-Jan-03 6:18
Stephane Rodriguez.16-Jan-03 6:18 
GeneralRe: add-ins in c++ using the DTE-object Pin
Amit Dey17-Jan-03 13:19
Amit Dey17-Jan-03 13:19 
QuestionIE plugin on a .NET? Pin
zaza714-Jan-03 20:37
zaza714-Jan-03 20:37 
AnswerRe: IE plugin on a .NET? Pin
Stephane Rodriguez.16-Jan-03 2:02
Stephane Rodriguez.16-Jan-03 2:02 
Generalautoactivate deskband Pin
Mårten14-Jan-03 9:25
Mårten14-Jan-03 9:25 
GeneralRe: autoactivate deskband Pin
Shaun Harrington11-Oct-06 4:02
Shaun Harrington11-Oct-06 4:02 
GeneralDCOM VB Active X Control in MFC fails but works when hosted in VB Pin
quannum13-Jan-03 23:23
quannum13-Jan-03 23:23 
Dear All,
Well this one is a complicated one but please bare with me.
We have an ActiveX Control developed in VB which is used to interface a client DCOM component which then connects to a DCOM server component on another machine.

The application works beautifully when the user are all on the same domain. Unfortunately we need to run the application across domains... I thought ah no problem, there are two methods to fix this:-
1. create two identical local accounts (dcom_su) with same username & password. Run the DCOM Server in the username process, give the user access/launch permissions on the server machine.
Then on the client machine make sure that the user is able to access the DCOM client on the client machine, I also added the user to launch permissions for good luck.

Anyway thats as far as I got.... next I thought about the second method.

2) Setup a trust between the NT/W2k domain.(domains NT<->W2K)
So we setup a trust and then added the the user (W2K\dcom_su) that the DCOM server process was running in to the client DCOM configuration (access/launch) permissions.
We added the user account (NT\simond) that the DCOM client will be running in to the server DCOM configuration (access permissions only). The DCOM server will already be running, so no need to have launch permissions ( i did try it with launch permissions as well just in case, but fortunately it still didnt work, otherwise that would have confused me even more!! Smile | :) )
Anyway load up the MFC prog as NT\simond .. and it didnt work, VB app works beautifully...

AGGGHHH...

When I tested the ActiveX control, the application looks like its working and one of the methods fails due to an Access Denied message.
The funny thing is that I have a VB app which hosts the ActiveX control so I run that and guess what? .. it works fine.. so there seems to be a difference between the way that VB inits ActiveX Controls to VC++, is that true?
I am not using CoInitializeSecurity() as wanted to handle things through the registry. I also have tried to disable DCOM authentication by switching the default connection type to 'none' on the client machine as apparently VB doesnt init DCOM security(which i think is wrong as how come it works through the VB app with security on).

Anyone have any ideas?
Love to hear them..
Anything you dont understand or i have explained poorly just say.
Think this problem is more interesting than most others!!
If I find a solution then I'll post it at least then if any of you have a similar problem you wont have to go through what i have!
TIA
Simon
GeneralLicense Control!!! Pin
akelasher13-Jan-03 11:49
akelasher13-Jan-03 11:49 
GeneralBest method for implementing IEnumXXXX Pin
Heath Stewart12-Jan-03 19:19
protectorHeath Stewart12-Jan-03 19:19 
GeneralDynamic COM Server Use Pin
Anonymous10-Jan-03 12:29
Anonymous10-Jan-03 12:29 
GeneralRe: Dynamic COM Server Use Pin
geo_m10-Jan-03 21:29
geo_m10-Jan-03 21:29 
GeneralRe: Dynamic COM Server Use Pin
Anonymous12-Jan-03 1:42
Anonymous12-Jan-03 1:42 
GeneralRe: Dynamic COM Server Use Pin
geo_m12-Jan-03 3:07
geo_m12-Jan-03 3:07 
GeneralRe: Dynamic COM Server Use Pin
thowra13-Jan-03 13:23
thowra13-Jan-03 13:23 
GeneralRe: Dynamic COM Server Use Pin
geo_m13-Jan-03 21:33
geo_m13-Jan-03 21:33 
GeneralRe: Dynamic COM Server Use Pin
thowra14-Jan-03 8:24
thowra14-Jan-03 8:24 
GeneralCOM Interface Name Clashes Pin
Anonymous10-Jan-03 7:08
Anonymous10-Jan-03 7:08 
GeneralRe: COM Interface Name Clashes Pin
geo_m10-Jan-03 21:51
geo_m10-Jan-03 21:51 
GeneralRe: COM Interface Name Clashes Pin
Anonymous12-Jan-03 1:12
Anonymous12-Jan-03 1:12 
GeneralRe: COM Interface Name Clashes Pin
geo_m12-Jan-03 3:19
geo_m12-Jan-03 3:19 
GeneralDear ERIK!!!!!!!!!!Please..... Pin
vcarivu10-Jan-03 0:53
vcarivu10-Jan-03 0:53 
GeneralPluging ActiveXContol in I.E toolbar-Pls help me Urgent Pin
vcarivu9-Jan-03 20:30
vcarivu9-Jan-03 20:30 
QuestionIs OLE object = to COM?? Pin
E_LISE_LI9-Jan-03 14:14
E_LISE_LI9-Jan-03 14:14 
AnswerRe: Is OLE object = to COM?? Pin
geo_m10-Jan-03 4:44
geo_m10-Jan-03 4:44 

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.