Click here to Skip to main content
15,915,083 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionSYSTEMTIME Pin
VVVimal14-Sep-09 19:17
VVVimal14-Sep-09 19:17 
AnswerRe: SYSTEMTIME Pin
Stuart Dootson15-Sep-09 0:18
professionalStuart Dootson15-Sep-09 0:18 
AnswerRe: SYSTEMTIME Pin
BlueSkycpp26-Oct-09 18:47
BlueSkycpp26-Oct-09 18:47 
QuestionCompare two different STL list Pin
VVVimal13-Sep-09 21:56
VVVimal13-Sep-09 21:56 
AnswerRe: Compare two different STL list Pin
Stuart Dootson13-Sep-09 23:07
professionalStuart Dootson13-Sep-09 23:07 
QuestionPreventing multiple instances of COM singleton??? Pin
kb-boxer30-Aug-09 20:52
kb-boxer30-Aug-09 20:52 
AnswerRe: Preventing multiple instances of COM singleton??? Pin
«_Superman_»30-Aug-09 21:20
professional«_Superman_»30-Aug-09 21:20 
GeneralRe: Preventing multiple instances of COM singleton??? Pin
kb-boxer31-Aug-09 0:23
kb-boxer31-Aug-09 0:23 
Thanks. That is one way to solve the problem.

But what I am really looking for is a way that COM infrastructure would take care of. What this means is I should not report error to the user, instead return the reference of the already created COM object.

If the COM server is launched as service and all users connect to it using CoCreateInstance, they get the same reference. But when the COM server is launched using the current user account, things are screwed up as a second instance is created. Instead COM should not create the second instance, instead return the reference of the COM object hosted in the service.

Thanks

http://vivekragunathan.spaces.live.com
Programming is an art. Code is a poem

QuestionHow can I hide the WTL Dialog scrollbar in SmartPhone? Pin
Kiss Rain17-Aug-09 17:29
Kiss Rain17-Aug-09 17:29 
QuestionWhat should I do that I want to develop a MenuBar or ToolBar using ATL? [modified] Pin
Nothend11-Aug-09 19:37
Nothend11-Aug-09 19:37 
QuestionWhere to get more information about windows shell? Pin
mr.dot9-Aug-09 7:51
mr.dot9-Aug-09 7:51 
AnswerRe: Where to get more information about windows shell? [modified] Pin
Richard MacCutchan8-Sep-09 0:59
mveRichard MacCutchan8-Sep-09 0:59 
GeneralRe: Where to get more information about windows shell? Pin
mr.dot8-Sep-09 15:11
mr.dot8-Sep-09 15:11 
GeneralRe: Where to get more information about windows shell? Pin
Richard MacCutchan8-Sep-09 22:23
mveRichard MacCutchan8-Sep-09 22:23 
AnswerRe: Where to get more information about windows shell? Pin
David_LoveCpp28-Sep-09 21:26
David_LoveCpp28-Sep-09 21:26 
QuestionATL Services Cannot start? Pin
fitatc6-Aug-09 20:23
fitatc6-Aug-09 20:23 
Questionhow to find Textbox value in the DirectUI Pin
ChinaTJBoy23-Jul-09 21:28
ChinaTJBoy23-Jul-09 21:28 
AnswerRe: how to find Textbox value in the DirectUI Pin
Michael Dunn27-Jul-09 12:19
sitebuilderMichael Dunn27-Jul-09 12:19 
QuestionCan I use std::tr1::share_ptr in VS2008 SP1 to replace auto_ptr in my project? Pin
hawkgao012922-Jul-09 15:53
hawkgao012922-Jul-09 15:53 
AnswerRe: Can I use std::tr1::share_ptr in VS2008 SP1 to replace auto_ptr in my project? Pin
Stuart Dootson22-Jul-09 18:58
professionalStuart Dootson22-Jul-09 18:58 
GeneralRe: Can I use std::tr1::share_ptr in VS2008 SP1 to replace auto_ptr in my project? Pin
hawkgao012922-Jul-09 20:21
hawkgao012922-Jul-09 20:21 
GeneralRe: Can I use std::tr1::share_ptr in VS2008 SP1 to replace auto_ptr in my project? Pin
Stuart Dootson22-Jul-09 21:34
professionalStuart Dootson22-Jul-09 21:34 
GeneralRe: Can I use std::tr1::share_ptr in VS2008 SP1 to replace auto_ptr in my project? Pin
hawkgao012922-Jul-09 22:03
hawkgao012922-Jul-09 22:03 
GeneralRe: Can I use std::tr1::share_ptr in VS2008 SP1 to replace auto_ptr in my project? Pin
hawkgao012922-Jul-09 22:13
hawkgao012922-Jul-09 22:13 
GeneralRe: Can I use std::tr1::share_ptr in VS2008 SP1 to replace auto_ptr in my project? Pin
Stuart Dootson22-Jul-09 22:18
professionalStuart Dootson22-Jul-09 22:18 

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.