Click here to Skip to main content
15,911,035 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: get SafeArray data...... Pin
vijay.victory2-Feb-09 18:32
vijay.victory2-Feb-09 18:32 
GeneralRe: get SafeArray data...... Pin
Jonathan Davies2-Feb-09 23:21
Jonathan Davies2-Feb-09 23:21 
QuestionProblem in Registerign COM Add-In Pin
SNI29-Jan-09 22:12
SNI29-Jan-09 22:12 
AnswerRe: Problem in Registerign COM Add-In Pin
«_Superman_»1-Feb-09 1:02
professional«_Superman_»1-Feb-09 1:02 
QuestionATL Add-In and MFC DLL communication problem? Pin
SNI23-Jan-09 1:50
SNI23-Jan-09 1:50 
AnswerRe: ATL Add-In and MFC DLL communication problem? Pin
Roger Stoltz23-Jan-09 6:07
Roger Stoltz23-Jan-09 6:07 
GeneralRe: ATL Add-In and MFC DLL communication problem? Pin
SNI29-Jan-09 2:12
SNI29-Jan-09 2:12 
GeneralRe: ATL Add-In and MFC DLL communication problem? Pin
Roger Stoltz29-Jan-09 3:14
Roger Stoltz29-Jan-09 3:14 
SNI wrote:
I have created Office AddIn Exe (Out Proc Server ) Com Component in VC++.
When i am creating instance of COM Exe in my MFC DLL....


Confused | :confused:
If this is an Office AddIn, doesn't the Office application create the server?
Why do you have to create it?
It should be "installed" or "registered" in the Office application so it knows that the server should be created at start up.

From where is your DLL called when you're trying to create the server?


SNI wrote:
Here CoCreateInstance is failed with return error no "-2147417843"


Without knowing from where your code is called, I cannot answer why you get this error better than in my previous post.
But, since this is a dll, you may be called in a thread that doesn't pump messages. So you should create a secondary UI-thread (one that pumps message) and create your server from there. Also be sure to initialize COM in that thread.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


GeneralRe: ATL Add-In and MFC DLL communication problem? Pin
SNI30-Jan-09 2:16
SNI30-Jan-09 2:16 
GeneralRe: ATL Add-In and MFC DLL communication problem? Pin
SNI20-Feb-09 0:26
SNI20-Feb-09 0:26 
QuestionHow to deal with "Currently ATL objects may only be added to ATL projects, or certain types of MFC projects (EXE, Control, Regular DLL)."? Pin
huangdingjun21-Jan-09 14:51
huangdingjun21-Jan-09 14:51 
AnswerRe: How to deal with "Currently ATL objects may only be added to ATL projects, or certain types of MFC projects (EXE, Control, Regular DLL)."? Pin
Stuart Dootson21-Jan-09 21:26
professionalStuart Dootson21-Jan-09 21:26 
Questionneed help with wtl 8 owner drawn controls Pin
Babil_JR21-Jan-09 5:25
Babil_JR21-Jan-09 5:25 
AnswerRe: need help with wtl 8 owner drawn controls Pin
Stuart Dootson21-Jan-09 6:26
professionalStuart Dootson21-Jan-09 6:26 
Questionexports enum from COM Pin
vijay.victory20-Jan-09 22:13
vijay.victory20-Jan-09 22:13 
AnswerRe: exports enum from COM Pin
Jonathan Davies21-Jan-09 0:05
Jonathan Davies21-Jan-09 0:05 
GeneralRe: exports enum from COM Pin
Jonathan Davies21-Jan-09 0:28
Jonathan Davies21-Jan-09 0:28 
GeneralRe: exports enum from COM Pin
vijay.victory21-Jan-09 2:26
vijay.victory21-Jan-09 2:26 
AnswerRe: exports enum from COM Pin
Stuart Dootson21-Jan-09 0:07
professionalStuart Dootson21-Jan-09 0:07 
QuestionCAtlHttpClient Pin
TURK18-Jan-09 7:08
TURK18-Jan-09 7:08 
AnswerRe: CAtlHttpClient Pin
Stuart Dootson18-Jan-09 7:37
professionalStuart Dootson18-Jan-09 7:37 
GeneralRe: CAtlHttpClient Pin
TURK18-Jan-09 8:16
TURK18-Jan-09 8:16 
GeneralRe: CAtlHttpClient Pin
Stuart Dootson18-Jan-09 8:27
professionalStuart Dootson18-Jan-09 8:27 
GeneralRe: CAtlHttpClient Pin
TURK18-Jan-09 9:51
TURK18-Jan-09 9:51 
QuestionCListViewCtrl creation does not produce column header arrow indicating sort order Pin
Jonathan Davies18-Jan-09 4:04
Jonathan Davies18-Jan-09 4:04 

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.