Click here to Skip to main content
15,925,369 members
Home / Discussions / COM
   

COM

 
Generalwhen to call AddRef() and Release Pin
pathi24-Jul-01 21:26
pathi24-Jul-01 21:26 
GeneralRe: when to call AddRef() and Release Pin
Jesse Rosalia16-Aug-01 19:55
Jesse Rosalia16-Aug-01 19:55 
QuestionHow does IOleInPlaceObjectWindowless work? Pin
Kastellanos Nikos24-Jul-01 1:15
Kastellanos Nikos24-Jul-01 1:15 
AnswerRe: How does IOleInPlaceObjectWindowless work? Pin
Kastellanos Nikos24-Jul-01 22:46
Kastellanos Nikos24-Jul-01 22:46 
Generaldynamically displaying content in IE Plugin Pin
Amit Dey23-Jul-01 19:49
Amit Dey23-Jul-01 19:49 
GeneralRe: dynamically displaying content in IE Plugin Pin
Erik Thompson24-Jul-01 7:24
sitebuilderErik Thompson24-Jul-01 7:24 
QuestionInstantiate a COM DLL remotely? Pin
Matt Philmon23-Jul-01 18:13
Matt Philmon23-Jul-01 18:13 
AnswerRe: Instantiate a COM DLL remotely? Pin
Jesse Rosalia16-Aug-01 19:47
Jesse Rosalia16-Aug-01 19:47 
Actually, I think DCOM is the way you want to go. You can programmatically set everything DCOMCNFG does (look into CoCreateInstanceEx for specifying server, and the AppId registry keys and LSA functions for security settings if they apply). Might I suggest, if you are going to use multiple clients off this server, that you turn your COM dll into an exe. COM dlls require a surrogate (very thin wrapper that does nothing really but provide an executable layer) to run on a remote machine, because frankly they themselves arnt enough to sustain an independant process. DCOM provides a default surrogate, DllHost.exe, which isnt bad, but if your goal is to service multiple clients off that remote server, my suggestion would be to turn your DLL into an EXE. One thing I dont understand is who is the client? If its a web browser, all your objects will be "running" on the server, so you dont need to make your client aware of the objects. If its an application, then there isnt really any issue in just registering the needed classes on that client computer, is there?

Hope this helps.

-Jesse
GeneralIDispatch Pin
23-Jul-01 15:12
suss23-Jul-01 15:12 
GeneralWMI Security Problem... Pin
Mario M.23-Jul-01 7:39
Mario M.23-Jul-01 7:39 
GeneralActive X Control - Redrawing Pin
Jared Allen23-Jul-01 3:32
Jared Allen23-Jul-01 3:32 
GeneralRe: Active X Control - Redrawing Pin
23-Jul-01 8:21
suss23-Jul-01 8:21 
GeneralRe: Active X Control - Redrawing Pin
23-Jul-01 21:18
suss23-Jul-01 21:18 
GeneralActiveX Control in an Composite Control Pin
22-Jul-01 6:00
suss22-Jul-01 6:00 
GeneralRe: ActiveX Control in an Composite Control Pin
Hadi Rezaee28-Jul-01 19:14
Hadi Rezaee28-Jul-01 19:14 
GeneralActiveX control in an Composite Control Pin
22-Jul-01 5:58
suss22-Jul-01 5:58 
GeneralActiveX control in an Composite Control Pin
22-Jul-01 5:58
suss22-Jul-01 5:58 
GeneralRe: ActiveX control in an Composite Control Pin
Not Active22-Jul-01 10:18
mentorNot Active22-Jul-01 10:18 
GeneralRe: ActiveX control in an Composite Control Pin
22-Jul-01 21:37
suss22-Jul-01 21:37 
GeneralRe: ActiveX control in an Composite Control Pin
23-Jul-01 8:50
suss23-Jul-01 8:50 
GeneralExtending SIP Pin
21-Jul-01 10:47
suss21-Jul-01 10:47 
QuestionCOM in kernel mode? Pin
M Bandu19-Jul-01 9:28
M Bandu19-Jul-01 9:28 
GeneralREPORT GENERATION USING MFC Pin
18-Jul-01 23:35
suss18-Jul-01 23:35 
GeneralReturning Records From DCOM Pin
AJ12318-Jul-01 4:13
AJ12318-Jul-01 4:13 
GeneralIDL file and special structs Pin
18-Jul-01 4:01
suss18-Jul-01 4:01 

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.