Hi Steve My advice is to stay away from threads in Axapta *s* the biggest problem is that you cannot debug threads so if some code logic is in-correct then you cannot use debugger to step thru the process. Plus I have a suspicion that thread process cannot have any user interface such as process bar etc.
Regards Harry This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm" The code provided (if any) may be written from the point of view of a third party and the programming style/development standards may suit such a point of view. -----Original Message----- From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steeve Gilbert Sent: 21 March 2006 21:27 To: Axapta-Knowledge-Village@yahoogroups.com Subject: RE : [Axapta-Knowledge-Village] Regarding multithreading concept in Axapta Hi Subbu, A couple of months ago we try to do some multithreading with the thread class in Axapta but it wasn't working very well so we abandoned it. But if there's other way to do that I am for it. So I wanted to see what WinAPI::createdThread() look like but it doesn't exist in our installation Ax 3.0 SP3. Is it in a later SP or do I need something else? Thanks, Steeve... -----Message d'origine----- De : Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Subrahmanyam, Mamidi Envoyé : 21 mars 2006 14:24 À : Axapta-Knowledge-Village@yahoogroups.com Objet : Re: [Axapta-Knowledge-Village] Regarding multithreading concept in Axapta X++ is not favorable compared to C++ in terms of system programming. in C++, we have many options/ std Cthread class with all thread functions inlcuding mutex objects. 1. for normal purpose, we have a sleep(milli secs) function in X++ 2. If you want to spawn multiple threads, we have WinAPI class: In C++, we have CMutex, waitforSingleObject, waitForMultipleObjects ( = ~ Semaphore ) , but in X++, we have the following WinAPI::createdThread() WinAPI::waitforSingleObject(threadId, waittime) etc etc... This is as per my knowledge... Good Luck. thanks, Subbu truptiranjan nayak <[EMAIL PROTECTED]> wrote: Hi, can anybody tell me how to do coding using multithreading concept. Ex: Suppose i am updating the invenTtrans table in my class. After updating the invenTtrans table i want to stop the execution for 1000 milliseconds as in Java. (t.sleep(1000)). Thanks Trupti --------------------------------- Yahoo! Travel Find great deals to the top 10 hottest destinations! [Non-text portions of this message have been removed] Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. SPONSORED LINKS Business finance course Business to business finance Small business finance Business finance consultant Business finance magazine Business finance schools --------------------------------- YAHOO! GROUPS LINKS Visit your group "Axapta-Knowledge-Village" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- --------------------------------- Yahoo! Mail Use Photomail to share photos without annoying attachments. [Non-text portions of this message have been removed] Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. Yahoo! Groups Links Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. Yahoo! Groups Links Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/