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
Solved

TJvMTThread

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

860 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