Click here to Skip to main content
15,900,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralView Scrolling Pin
Reunion25-Apr-04 17:18
Reunion25-Apr-04 17:18 
GeneralRe: View Scrolling Pin
Prakash Nadar25-Apr-04 18:51
Prakash Nadar25-Apr-04 18:51 
QuestionHow to run an exe from memory? Pin
KevinZhaoShK25-Apr-04 16:25
KevinZhaoShK25-Apr-04 16:25 
AnswerRe: How to run an exe from memory? Pin
David Crow26-Apr-04 2:42
David Crow26-Apr-04 2:42 
QuestionHow can add and change myself data to exe file?? Pin
fftz25-Apr-04 16:19
fftz25-Apr-04 16:19 
AnswerRe: How can add and change myself data to exe file?? Pin
grigsoft25-Apr-04 19:52
grigsoft25-Apr-04 19:52 
GeneralWorker Thread problem Pin
nanukos25-Apr-04 15:09
nanukos25-Apr-04 15:09 
GeneralRe: Worker Thread problem Pin
Antony M Kancidrowski26-Apr-04 2:07
Antony M Kancidrowski26-Apr-04 2:07 
IIRC ADO is not thread safe. If you want to manipulate database data from threads then you need to make all database calls from the main thread of the application. This effectively serialises all database access.

From the worker thread the easiest way to do this it is to post messages to the main threads message queue.

This does have some down sides. i.e. the data has to be made thread safe, also the data needs to be available when the main thread processes the thread message.

Ant.
GeneralRe: Worker Thread problem Pin
nanukos26-Apr-04 4:30
nanukos26-Apr-04 4:30 
GeneralRe: Worker Thread problem Pin
Antony M Kancidrowski26-Apr-04 11:41
Antony M Kancidrowski26-Apr-04 11:41 
GeneralCTreeView assert when clicking in CEdit Pin
newbeetoc25-Apr-04 14:02
newbeetoc25-Apr-04 14:02 
GeneralRe: CTreeView assert when clicking in CEdit Pin
Mike Dimmick26-Apr-04 0:19
Mike Dimmick26-Apr-04 0:19 
Generalpassing parameters to main in debugger Pin
toxcct25-Apr-04 10:55
toxcct25-Apr-04 10:55 
GeneralRe: passing parameters to main in debugger Pin
f6425-Apr-04 11:22
f6425-Apr-04 11:22 
GeneralRe: passing parameters to main in debugger Pin
toxcct25-Apr-04 11:24
toxcct25-Apr-04 11:24 
GeneralCalling api functions with C++ Pin
soul.ripper25-Apr-04 10:24
soul.ripper25-Apr-04 10:24 
GeneralRe: Calling api functions with C++ Pin
toxcct25-Apr-04 11:07
toxcct25-Apr-04 11:07 
GeneralRe: Calling api functions with C++ Pin
soul.ripper25-Apr-04 11:26
soul.ripper25-Apr-04 11:26 
GeneralRe: Calling api functions with C++ Pin
f6425-Apr-04 11:48
f6425-Apr-04 11:48 
GeneralRe: Calling api functions with C++ Pin
toxcct25-Apr-04 11:53
toxcct25-Apr-04 11:53 
Questionlonger paths than MAX_PATH ? Pin
name_or_alias25-Apr-04 10:13
name_or_alias25-Apr-04 10:13 
AnswerRe: longer paths than MAX_PATH ? Pin
peterchen25-Apr-04 10:19
peterchen25-Apr-04 10:19 
GeneralRe: longer paths than MAX_PATH ? Pin
name_or_alias25-Apr-04 11:04
name_or_alias25-Apr-04 11:04 
GeneralRe: longer paths than MAX_PATH ? Pin
peterchen25-Apr-04 11:11
peterchen25-Apr-04 11:11 
GeneralAccessing variable in CView anywhere in application Pin
Krugger40425-Apr-04 9:10
Krugger40425-Apr-04 9:10 

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.