Click here to Skip to main content
16,021,181 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: NamedPipe Error in CreateFile Pin
ginjikun15-Nov-07 16:17
ginjikun15-Nov-07 16:17 
GeneralRe: NamedPipe Error in CreateFile Pin
Luc Pattyn15-Nov-07 16:38
sitebuilderLuc Pattyn15-Nov-07 16:38 
GeneralRe: NamedPipe Error in CreateFile Pin
ginjikun15-Nov-07 16:59
ginjikun15-Nov-07 16:59 
GeneralRe: NamedPipe Error in CreateFile Pin
Luc Pattyn15-Nov-07 17:17
sitebuilderLuc Pattyn15-Nov-07 17:17 
GeneralRe: NamedPipe Error in CreateFile Pin
ginjikun15-Nov-07 17:56
ginjikun15-Nov-07 17:56 
GeneralRe: NamedPipe Error in CreateFile Pin
Luc Pattyn15-Nov-07 18:07
sitebuilderLuc Pattyn15-Nov-07 18:07 
GeneralRe: NamedPipe Error in CreateFile Pin
ginjikun15-Nov-07 18:18
ginjikun15-Nov-07 18:18 
GeneralRe: NamedPipe Error in CreateFile Pin
Luc Pattyn16-Nov-07 2:55
sitebuilderLuc Pattyn16-Nov-07 2:55 
Hi,

you're welcome.

ginjikun wrote:
left it running for over 2 hours


you could get more testing done by decreasing the time in between communications; just
for testing purposes reduce the period from 1 minute to 10 seconds, or 1 second. That way
a 1 hour run simulates an actual run of 6 or 60 hours...


ginjikun wrote:
how exported functions behave. is it blocking?


is several threads of the same process, or some threads of different processes, call
the same function in a (shared) DLL, then they will run any way they see fit, there is
no automatic blocking, locking, synchronization, whatever; so either your code must
be "thread-safe" (i.e. withstand such concurrent execution), or explicit locking must
be provided.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use PRE tags to preserve formatting when showing multi-line code snippets


GeneralRe: NamedPipe Error in CreateFile Pin
Llasus15-Nov-07 18:13
Llasus15-Nov-07 18:13 
GeneralRe: NamedPipe Error in CreateFile Pin
ginjikun15-Nov-07 18:26
ginjikun15-Nov-07 18:26 
GeneralRe: NamedPipe Error in CreateFile Pin
Llasus15-Nov-07 17:42
Llasus15-Nov-07 17:42 
GeneralRe: NamedPipe Error in CreateFile Pin
ginjikun15-Nov-07 18:01
ginjikun15-Nov-07 18:01 
GeneralRe: NamedPipe Error in CreateFile Pin
Llasus15-Nov-07 18:25
Llasus15-Nov-07 18:25 
GeneralRe: NamedPipe Error in CreateFile Pin
ginjikun15-Nov-07 18:31
ginjikun15-Nov-07 18:31 
GeneralRe: NamedPipe Error in CreateFile Pin
Llasus15-Nov-07 18:38
Llasus15-Nov-07 18:38 
QuestionCapture TEXT in screen Pin
chiwaki15-Nov-07 13:22
chiwaki15-Nov-07 13:22 
AnswerRe: Capture TEXT in screen Pin
chiwaki15-Nov-07 15:37
chiwaki15-Nov-07 15:37 
QuestionHelp Pin
dellthinker15-Nov-07 13:10
dellthinker15-Nov-07 13:10 
QuestionHow to process and update GUI Pin
nrbracke15-Nov-07 11:32
nrbracke15-Nov-07 11:32 
AnswerRe: How to process and update GUI Pin
Mark Salsbery15-Nov-07 11:38
Mark Salsbery15-Nov-07 11:38 
GeneralRe: How to process and update GUI Pin
nrbracke17-Nov-07 12:44
nrbracke17-Nov-07 12:44 
GeneralRe: How to process and update GUI Pin
Mark Salsbery17-Nov-07 13:03
Mark Salsbery17-Nov-07 13:03 
QuestionHow to add menu to CListbox? Pin
Gofur Halmurat15-Nov-07 9:46
Gofur Halmurat15-Nov-07 9:46 
AnswerRe: How to add menu to CListbox? Pin
Mark Salsbery15-Nov-07 10:37
Mark Salsbery15-Nov-07 10:37 
GeneralRe: How to add menu to CListbox? Pin
Gofur Halmurat15-Nov-07 10:59
Gofur Halmurat15-Nov-07 10:59 

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.