![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Additional Libraries Users contributed libraries. This sub-forum is only available to licensed users. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I apologise for my poor descriptions, i'm just bad english-speaker, so i'm trying to write as short as possible messages to make as less as possible mistakes :-) Yes this code works without an errors, but it works from the second-third time... When i press the button for the first time, there is always "no response received" inscription...
Last edited by Elrick : 02-29-2008 at 06:05 PM. |
|
|||
|
Hello agraham,
i tested a bit with your threading lib.I just call a sub as a thread, which appears to work fine.But i'm missing some responses from my sub.All my code parts are writing messages in a console.This is used as a status display and also for debugging purposes.The code is just calling a sub, which does log the message to the console control and also to a log file.The "console printing" sub is using a textbox control for the output, which is under the control of the main gui program. Questions: - what's wrong here ? - Can i call a sub from a sub which has been started as a thread or not ? - if it's ok to call a sub from a threaded sub, can the called sub access the controls of the main gui program ? - if not, how can i work around this ? cheers TWELVE |
|
||||
|
I don't know!
Quote:
Quote:
Quote:
|
|
|||
|
Hi agraham,
thx for your reply. I read the threading lib manual carefully, also the pitfalls section, but this was only talking about it would be unsafe to manipulate GUI elements, not it would be impossible.So for me it was not clear that i don't even have access to the GUI controls. I tested with the Thread_ThreadEvent, which worked fineso far.However, i need to rework the code to have it communicating with the GUI.Furthermore the desktop simulation is throwing two error messages per thread call: Library running in legacy mode. Start, RunLock and Join are unavailable. Start Not available in legacy mode. That is really impacting me because it renders the desktop emu nearly useless, unless i confirm 2 error boxes every second or so - depending on how often the thread is being called. What is the reason for these errors ? Has the desktop lib/version only limited functionality ? Is it possible to suppress these error messages..? kind regards TWELVE |
|
||||
|
Quote:
Quote:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Threading | Mr_Gee | Basic4ppc Wishlist | 0 | 09-23-2008 08:57 PM |
| formEXdesktop.dll and threading.dll | Byak@ | Questions & Help Needed | 5 | 08-13-2008 04:05 PM |
| Parallel Processing / Multi-Threading questions | TWELVE | Questions & Help Needed | 7 | 04-29-2008 12:40 PM |
| Error on compile with Optimising | TonyGprs | Questions & Help Needed | 4 | 01-27-2008 12:15 PM |
| The Hekkus Library doesn't work when used with the Optimized Compiler | Louis | Questions & Help Needed | 5 | 12-28-2007 09:06 PM |