LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is the Multithreading supported by Windows 3.1 ?

I'm curruntly deveolloping a mesurment and testing Application on Windows 2000 with LabWindows/CVI 6.0 and I would like to use the multithreadng But i have an obligation witch is that my application must be compliant Windows 3.1 (Can be executed on this plateforme ) So I would like to knows if the use of the multithreading is allowed ? ad witch other restrictions should i know to make my application executable on Windows 3.1
Yours Truly
Thanx
0 Kudos
Message 1 of 5
(4,739 Views)
In regards to Win 3.1 to support multithreading I think the answer is no. I have seen some multithreading application not to work properly even in Win 98, since threads that were suppossed to run parallel were not (one thread had to wait for another one to release some resource). As of Win 2000 application to run at 3.1, I would suggest to develop the application using 3.1 and then import it into 2000, since the 16-bit to 32-bit change won't let do it the oppossite way.
0 Kudos
Message 2 of 5
(4,739 Views)
No there is no way to do multi threaded application under Win 3.1. In
addition, I'm not sure the function available in let's say under CVI 6 would
work when compiled in a CVI version working on 3.1.
In the case of the version of the code that must run under win 3.1 you
could try
- to use signal() function calls in order to "emulate" a kind of
multthread (risky business).
- use different standalone executable and synchronize them using DDE
(wich will be not supported by Microsoft for a long time now)
Good luck because ensuring portabilty beetween the different version of your
software will be somewhat "rock'n roll".

I would however spend some time (nothing to compare to the time you will
have to invest if you plan to do multithread under 3.1) convincing your
client saying : no way, it simply make no sens to support win 3.1 nowdays.
It is a waste of time (your time) and money (your customer's money). Yes it
make sens to look a Unix, Linux, XP, LongHorn but not 3.1! Even for the
customer. Will he be able to maintain compatible hardare for 3.1 for the
next 5 or 10 years. Think about network card driver, videoboard driver.
Except if everything use RS-232 it will be hard to find AT board in few
months.

In my point of view, again, it simply make no sens to spend time on such
topic. Evangilize and teach your customer and help him to save money.
--
Philippe
Feel free to visit : http://perso.wanadoo.fr/philippe.baucour



"AnisB EURILOGIC" a �crit dans le message de news:
50650000000800000000820000-1042324653000@exchange.ni.com...
> I'm curruntly deveolloping a mesurment and testing Application on
> Windows 2000 with LabWindows/CVI 6.0 and I would like to use the
> multithreadng But i have an obligation witch is that my application
> must be compliant Windows 3.1 (Can be executed on this plateforme ) So
> I would like to knows if the use of the multithreading is allowed ? ad
> witch other restrictions should i know to make my application
> executable on Windows 3.1
> Yours Truly
> Thanx
Message 3 of 5
(4,739 Views)
Thank you very match for your Answer, I'll try to get the Windows 3.1 to Developp my Application
But, I would also like to know : is the fact that the two threads applications didn't try to access the same I/O ( The first Thread communicate on COM1 and the other on COM2 ) allow me to do the multithreading even on Win 3.1 or not.?
Thnx for all
0 Kudos
Message 4 of 5
(4,739 Views)
Wow je ne crois pas mes yeux je viens d'avoir la réponse du grand Phillipe BEACOUR. 😉
Merci Beaucoup par la même occasion je tiens à te féleciter pour ton excellent sinon parfait site que tu as fait. C'est par là que j'ai commencé à m'intersser à LabWindows.
Encore une fois mille Merci 😉
Cordialement Anis
0 Kudos
Message 5 of 5
(4,739 Views)