Solved

Create threads in C++ Builder without winapi

Posted on 2006-06-17
3
518 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
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

830 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