Click here to Skip to main content
15,910,872 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Error while compiling Pin
led mike18-Oct-07 4:20
led mike18-Oct-07 4:20 
GeneralRe: Error while compiling Pin
staticplus18-Oct-07 4:30
staticplus18-Oct-07 4:30 
QuestionFont size problem Pin
pri_skit18-Oct-07 3:02
pri_skit18-Oct-07 3:02 
AnswerRe: Font size problem Pin
James R. Twine18-Oct-07 3:17
James R. Twine18-Oct-07 3:17 
AnswerRe: Font size problem Pin
Nelek18-Oct-07 3:21
protectorNelek18-Oct-07 3:21 
Questionchecksum for files Pin
beegu18-Oct-07 2:51
beegu18-Oct-07 2:51 
AnswerRe: checksum for files Pin
Nemanja Trifunovic18-Oct-07 2:59
Nemanja Trifunovic18-Oct-07 2:59 
QuestionAddRef and Release function of COM inteface Pin
George_George18-Oct-07 2:37
George_George18-Oct-07 2:37 
Hello everyone,


I have noticed a lot of COM samples that the function AddRef and Release function of COM inteface is not synchronized to make it thread safe when dealing with adding/decreasing reference count.

Is it needed to synchronize AddRef and Release? Or the COM runtime underlying implementation handles thread safe issue by itself (i.e. transparent to upper layer COM server developer)

I am using Visual Studio 2005 to develop native (unmanaged C++) COM. No other framework is used (e.g. ATL).


thanks in advance,
George
AnswerRe: AddRef and Release function of COM inteface Pin
led mike18-Oct-07 4:28
led mike18-Oct-07 4:28 
GeneralRe: AddRef and Release function of COM inteface Pin
George_George18-Oct-07 4:45
George_George18-Oct-07 4:45 
GeneralRe: AddRef and Release function of COM inteface Pin
led mike18-Oct-07 4:54
led mike18-Oct-07 4:54 
GeneralRe: AddRef and Release function of COM inteface Pin
George_George18-Oct-07 5:15
George_George18-Oct-07 5:15 
GeneralRe: AddRef and Release function of COM inteface Pin
led mike18-Oct-07 6:11
led mike18-Oct-07 6:11 
GeneralRe: AddRef and Release function of COM inteface Pin
George_George18-Oct-07 18:47
George_George18-Oct-07 18:47 
GeneralRe: AddRef and Release function of COM inteface Pin
led mike19-Oct-07 5:08
led mike19-Oct-07 5:08 
GeneralRe: AddRef and Release function of COM inteface Pin
George_George20-Oct-07 4:18
George_George20-Oct-07 4:18 
QuestionCharsets , koi8-r Pin
Daniel Kanev7-Mar-17 21:54
Daniel Kanev7-Mar-17 21:54 
AnswerRe: Charsets , koi8-r Pin
Nemanja Trifunovic18-Oct-07 2:50
Nemanja Trifunovic18-Oct-07 2:50 
GeneralMessage Closed Pin
18-Oct-07 3:21
Daniel Kanev18-Oct-07 3:21 
GeneralRe: Charsets , koi8-r Pin
Nemanja Trifunovic18-Oct-07 3:34
Nemanja Trifunovic18-Oct-07 3:34 
QuestionProblem in generating XML log files Pin
Rocky#18-Oct-07 2:14
Rocky#18-Oct-07 2:14 
AnswerRe: Problem in generating XML log files Pin
James R. Twine18-Oct-07 3:12
James R. Twine18-Oct-07 3:12 
GeneralRe: Problem in generating XML log files Pin
Rocky#18-Oct-07 19:28
Rocky#18-Oct-07 19:28 
GeneralRe: Problem in generating XML log files Pin
led mike19-Oct-07 5:13
led mike19-Oct-07 5:13 
GeneralRe: Problem in generating XML log files Pin
James R. Twine19-Oct-07 7:09
James R. Twine19-Oct-07 7:09 

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.