Click here to Skip to main content
15,902,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: platform specific API or C standard API Pin
George_George11-Nov-07 23:11
George_George11-Nov-07 23:11 
QuestionHow to check that ADO connection is successfully open or not. Pin
CodingLover11-Nov-07 19:25
CodingLover11-Nov-07 19:25 
AnswerRe: How to check that ADO connection is successfully open or not. Pin
CodingLover11-Nov-07 21:18
CodingLover11-Nov-07 21:18 
GeneralRe: How to check that ADO connection is successfully open or not. Pin
Rajasekharan Vengalil11-Nov-07 22:41
Rajasekharan Vengalil11-Nov-07 22:41 
GeneralRe: How to check that ADO connection is successfully open or not. Pin
CodingLover11-Nov-07 22:47
CodingLover11-Nov-07 22:47 
QuestionUsing Semaphore Pin
narayanagvs11-Nov-07 19:09
narayanagvs11-Nov-07 19:09 
AnswerRe: Using Semaphore Pin
Naveen11-Nov-07 19:45
Naveen11-Nov-07 19:45 
AnswerRe: Using Semaphore Pin
Cedric Moonen11-Nov-07 20:18
Cedric Moonen11-Nov-07 20:18 
narayanagvs wrote:
Can I restrict access to that Pdf file by placing a lock on that file? So that only my application accesses it and no one can access the file.Is that a possible Solution?


You mean using a semaphore ? If that's the case, then the answer is no. A semaphore has to be used by all parties that want to access a resource (whatever it might be). So, in all the programs that wants to access the resource, they need to use the same semaphore.
If you lock your file in your application through a semaphore, nothing prevent explorer (for example) to open the file (because it doesn't use a semaphore to open the file).


Cédric Moonen
Software developer

Charting control [v1.2]

GeneralRe: Using Semaphore Pin
narayanagvs12-Nov-07 0:55
narayanagvs12-Nov-07 0:55 
AnswerRe: Using Semaphore Pin
JudyL_MD12-Nov-07 2:07
JudyL_MD12-Nov-07 2:07 
QuestionNeed some clarification Pin
Mushtaque Nizamani11-Nov-07 19:05
Mushtaque Nizamani11-Nov-07 19:05 
AnswerRe: Need some clarification Pin
Hamid_RT11-Nov-07 19:46
Hamid_RT11-Nov-07 19:46 
AnswerRe: Need some clarification Pin
Llasus11-Nov-07 19:51
Llasus11-Nov-07 19:51 
QuestionImage scaling Pin
Deepu Antony11-Nov-07 18:53
Deepu Antony11-Nov-07 18:53 
AnswerRe: Image scaling Pin
Hamid_RT11-Nov-07 19:11
Hamid_RT11-Nov-07 19:11 
AnswerRe: Image scaling Pin
Hamid_RT11-Nov-07 19:36
Hamid_RT11-Nov-07 19:36 
AnswerRe: Image scaling Pin
Llasus11-Nov-07 19:47
Llasus11-Nov-07 19:47 
GeneralRe: Image scaling Pin
Deepu Antony11-Nov-07 20:34
Deepu Antony11-Nov-07 20:34 
GeneralRe: Image scaling Pin
Llasus11-Nov-07 21:10
Llasus11-Nov-07 21:10 
GeneralRe: Image scaling Pin
Deepu Antony12-Nov-07 3:06
Deepu Antony12-Nov-07 3:06 
QuestionException in socket programming Pin
gReaen11-Nov-07 18:51
gReaen11-Nov-07 18:51 
AnswerRe: Exception in socket programming Pin
Llasus11-Nov-07 19:30
Llasus11-Nov-07 19:30 
AnswerRe: Exception in socket programming Pin
Hamid_RT11-Nov-07 19:34
Hamid_RT11-Nov-07 19:34 
QuestionFlag for Protected system files? Pin
bholoo11-Nov-07 18:38
bholoo11-Nov-07 18:38 
QuestionCTreeCtrl and undo/redo Pin
Hans Dietrich11-Nov-07 18:33
mentorHans Dietrich11-Nov-07 18:33 

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.