?
Solved

Threading with forms in Delphi 3

Posted on 1998-03-26
3
Medium Priority
?
165 Views
Last Modified: 2010-04-06
I am trying to create a threaded application with Delphi 3.  What is does is when a new thread is executed it simply creates a form, but when I try and run the application it just hangs.  I do not get this problem when I run it under Delphi 2. I can supply the code if needed.   Any ideas?
0
Comment
Question by:phillipf
[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
3 Comments
 
LVL 3

Expert Comment

by:KE
ID: 1360949
Please supply the code.

0
 
LVL 4

Expert Comment

by:BoRiS
ID: 1360950
yes supply the code and lets have a look see...

Later

BoRiS
0
 

Accepted Solution

by:
atze earned 300 total points
ID: 1360951
try creating a new thread for each form in the thread use TApplication to create the form

this should be paced in the create for the thread:

  threadApp := TApplication.Create( nil );
  threadApp.Initialize;
  threadApp.CreateForm( TYourForm, YourForm );

hope this helps
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

741 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