Click here to Skip to main content
16,006,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Software Security Pin
Anders Molin15-May-01 1:37
professionalAnders Molin15-May-01 1:37 
GeneralRe: Software Security Pin
Jon Shute15-May-01 23:10
Jon Shute15-May-01 23:10 
GeneralRe: Software Security Pin
#realJSOP16-May-01 2:36
professional#realJSOP16-May-01 2:36 
GeneralThreads problem Pin
yamini15-May-01 0:56
yamini15-May-01 0:56 
GeneralRe: Threads problem Pin
Chris Hafey15-May-01 5:03
Chris Hafey15-May-01 5:03 
GeneralRe: Threads problem Pin
yamini16-May-01 2:31
yamini16-May-01 2:31 
GeneralRe: Threads problem Pin
22-May-01 11:04
suss22-May-01 11:04 
GeneralThreads problem Pin
yamini15-May-01 0:55
yamini15-May-01 0:55 
I have a problem with Threads !In a console
application ,I am trying to create 10 threads using
CreateThread(..). Each Thread created tries to call the
interface function which will add records to database !The
problem is I have given separate ThreadProcs for each thread
.But, what happens is some threads log more than once.So, the
loggings of some threads are lost !But, teh number of loggings
are correct !How can I rectify the problem !

The Mutexes need not do anything here .But, i can get the
correct result only
if I use Mutex at the start of each ThreadProc .It is logically
wrong !How can i rectify the problem !

Thanx in advance for the help !

Regards,
yamini




Y.Yamini Devi.
QuestionHow do I change from SDI to MDI? Pin
Stephen McGeown15-May-01 0:06
Stephen McGeown15-May-01 0:06 
AnswerRe: How do I change from SDI to MDI? Pin
Christian Graus15-May-01 0:11
protectorChristian Graus15-May-01 0:11 
AnswerRe: How do I change from SDI to MDI? Pin
Tomasz Sowinski15-May-01 0:46
Tomasz Sowinski15-May-01 0:46 
QuestionHow to handle CSocket connection Breakdown? Pin
15-May-01 0:02
suss15-May-01 0:02 
AnswerRe: How to handle CSocket connection Breakdown? Pin
15-May-01 0:43
suss15-May-01 0:43 
GeneralRemoving border around pages in a CPropertySheet-based wizard Pin
Mal Ross14-May-01 23:39
Mal Ross14-May-01 23:39 
GeneralNewbie question: control integer identifier Pin
Bartek14-May-01 22:06
Bartek14-May-01 22:06 
GeneralRe: Newbie question: control integer identifier Pin
Christian Graus14-May-01 23:03
protectorChristian Graus14-May-01 23:03 
GeneralPress a key in a MFC ActiveX control Pin
14-May-01 20:08
suss14-May-01 20:08 
QuestionMp3 ??? Pin
14-May-01 12:04
suss14-May-01 12:04 
AnswerRe: Mp3 ??? Pin
Christian Graus14-May-01 12:50
protectorChristian Graus14-May-01 12:50 
GeneralWTL Property Sheet Pin
Lilian Chan-Grant14-May-01 10:33
Lilian Chan-Grant14-May-01 10:33 
General__asm?? Some help me!! Pin
mvworld14-May-01 9:15
mvworld14-May-01 9:15 
GeneralRe: __asm?? Some help me!! Pin
Pavlos Touboulidis14-May-01 10:48
Pavlos Touboulidis14-May-01 10:48 
GeneralSerialize Pin
mr200314-May-01 8:47
mr200314-May-01 8:47 
GeneralRe: Serialize Pin
Christian Graus14-May-01 12:52
protectorChristian Graus14-May-01 12:52 
GeneralRe: Serialize Pin
14-May-01 23:38
suss14-May-01 23:38 

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.