Solved

TJvMTThread

Posted on 2006-11-08
1
374 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 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

12 Experts available now in Live!

Get 1:1 Help Now