Solved

Create threads in C++ Builder without winapi

Posted on 2006-06-17
3
519 Views
Last Modified: 2013-11-17
Hi there,


Could anybobody help me with creating threads under c++ Builder? I have found a method with WinAPI but I know there is another method without WinApi.


Thank you very much!!!


0
Comment
Question by:aureliuh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 25

Accepted Solution

by:
kode99 earned 125 total points
ID: 16928879
Take a look under the File->New->Thread Object.

Basically CBuilder uses a TThread class which allows you to avoid most of the winapi stuff.  The help is pretty good and if you use the file - new method to create the object it will give you all the framework for your own TThread class.  Just fill in the execute method and you more or less have it.

Now when you create one of your new thread class objects you have a thread in your program.
0
 
LVL 25

Expert Comment

by:kode99
ID: 16928886
Oh there is an example with the BC install,  take a look in the Examples\Apps\Threads.
0
 

Author Comment

by:aureliuh
ID: 16929799
Thank you very much! It realy helpped me! I was working with WinApi :(
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
edit html 3 153
I can't set a breakpoint ? 5 151
maven plugin not showing after installation 3 85
VS can't find System.IO.Packaging 5 804
In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question