Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

C++ builder - Windows messaging system or callback function?

Status
Not open for further replies.

bobcat1

Advanced Member level 4
Joined
Jul 10, 2002
Messages
1,284
Helped
99
Reputation
198
Reaction score
34
Trophy points
1,328
Activity points
8,546
C++ builder

Hi All

I got a question for C++ builder pro programmers:

I have an application who use a dual Thread for processing what is the better and faster way to update a Tmemo object on the main form :

1) Using windows massaging system.

2) Using callback function

Thanks

Bobi
 

Re: C++ builder

It’s very difficult to answer this question without any practical observation. But with my previous experiences in Delphi/C++Builder I know that processing window messaging is more simple than using callback functions, but in a performance wise it is not a good solution. Because it always gives worse performance due to delays in processing window messages.

I recommended the using of callback functions for your task.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top