Click here to Skip to main content
16,004,919 members
Home / Discussions / COM
   

COM

 
QuestionError 406 Pin
shivapriyak20-Feb-07 21:05
shivapriyak20-Feb-07 21:05 
Questioncreating a reference to a com object Pin
shivapriyak19-Feb-07 4:30
shivapriyak19-Feb-07 4:30 
AnswerRe: creating a reference to a com object Pin
Roger Stoltz19-Feb-07 11:18
Roger Stoltz19-Feb-07 11:18 
GeneralRe: creating a reference to a com object Pin
shivapriyak19-Feb-07 18:21
shivapriyak19-Feb-07 18:21 
GeneralRe: creating a reference to a com object Pin
Tim Paaschen19-Feb-07 19:45
Tim Paaschen19-Feb-07 19:45 
GeneralRe: creating a reference to a com object Pin
Roger Stoltz19-Feb-07 22:22
Roger Stoltz19-Feb-07 22:22 
GeneralRe: creating a reference to a com object Pin
shivapriyak19-Feb-07 23:44
shivapriyak19-Feb-07 23:44 
GeneralRe: creating a reference to a com object Pin
Tim Paaschen20-Feb-07 1:25
Tim Paaschen20-Feb-07 1:25 
shivapriyak wrote:
First of all how to convert an in-proc COM instance to an out-proc COM instance

The easiest way is to create a new project and select an COM EXE (out-proc) server right from the beginning. If you want to convert your project, create a new dummy out-proc server and reproduce the required settings and code in your project.

If your server derives from CComCoClass, you can use the DECLARE_CLASSFACTORY_SINGLETON macro. However, be awae that this only works for clients started by the same user.

Regarding the Running Object Table have a look at the MSDN[^] or this article[^].

Regards,
Tim

GeneralRe: creating a reference to a com object Pin
Roger Stoltz19-Feb-07 22:27
Roger Stoltz19-Feb-07 22:27 
GeneralRe: creating a reference to a com object Pin
shivapriyak19-Feb-07 23:48
shivapriyak19-Feb-07 23:48 
GeneralRe: creating a reference to a com object Pin
Roger Stoltz20-Feb-07 0:11
Roger Stoltz20-Feb-07 0:11 
GeneralRe: creating a reference to a com object Pin
shivapriyak20-Feb-07 1:19
shivapriyak20-Feb-07 1:19 
GeneralRe: creating a reference to a com object Pin
Roger Stoltz20-Feb-07 2:47
Roger Stoltz20-Feb-07 2:47 
GeneralRe: creating a reference to a com object Pin
shivapriyak20-Feb-07 21:02
shivapriyak20-Feb-07 21:02 
Questioncom -vb "error-70" Pin
aamn116-Feb-07 2:26
aamn116-Feb-07 2:26 
Questionerror "The stub received bad data" while calling CreateInstance function Pin
Sumesh V.V14-Feb-07 21:30
Sumesh V.V14-Feb-07 21:30 
AnswerRe: error "The stub received bad data" while calling CreateInstance function Pin
lafleon15-Feb-07 11:08
lafleon15-Feb-07 11:08 
Questionwant to close MSWord after sending e-mail via Outlook Pin
salman kazi13-Feb-07 19:47
salman kazi13-Feb-07 19:47 
QuestionTo Retrieve Path of a DLL file. Pin
georgekjolly12-Feb-07 19:44
georgekjolly12-Feb-07 19:44 
AnswerRe: To Retrieve Path of a DLL file. Pin
Stephen Hewitt13-Feb-07 11:18
Stephen Hewitt13-Feb-07 11:18 
QuestionProblem in Passing 1d array from VC++ to VB [modified] Pin
georgekjolly8-Feb-07 6:00
georgekjolly8-Feb-07 6:00 
AnswerRe: Problem in Passing 1d array from VC++ to VB Pin
lafleon9-Feb-07 10:58
lafleon9-Feb-07 10:58 
GeneralRe: Problem in Passing 1d array from VC++ to VB Pin
georgekjolly10-Feb-07 0:36
georgekjolly10-Feb-07 0:36 
AnswerRe: Problem in Passing 1d array from VC++ to VB Pin
lafleon9-Feb-07 11:10
lafleon9-Feb-07 11:10 
AnswerRe: Problem in Passing 1d array from VC++ to VB Pin
lafleon9-Feb-07 11:19
lafleon9-Feb-07 11:19 

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.