Solved

TJvMTThread

Posted on 2006-11-08
1
378 Views
Last Modified: 2010-05-18
I am doing something wrong here or just not understanding the concept.  I am under the impression this is for creating and working with multiple threads.  This is from the Jedi Component Library

In my code I have
...
    threadman: TJvMTManager;
    mthread: TJvMTThread;
...

...
      mthread.manager.AcquireNewThread;
      mthread.Run;
...

I have on OnExecute event assigned to the mthread.  It always throws an exception saying the thread is not initialized or waiting.
0
Comment
Question by:DSOM
1 Comment
 
LVL 28

Accepted Solution

by:
TName earned 500 total points
ID: 17912699
Hi,
have you tried

mthread.RunCopy;  // (instead of:  mthread.Run;)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now