Hello,
I've tried to write a rexx dll and managed to include some neat features, eject/load CD/DVD, calculate filesizes above 2Gb, list files to rexxqueue, stem and stdout to allow flexible use and earlier output in multithreaded apps (rexxqueue + threads provided by e.g. DrDialog through Start). ;D
I've never managed to get a working example using threads in the C/C++ code to come close to working properly for me though.
Would you please correct the following example so that it can work? ???
The problems (as seem to me) is that it can only return to rxMergeMove if i include a
cout << "Something";
on the first lines of the function(thread) MergeMove, but it (the calling rexx code) end execution before the return from DosWaitEventSem
Compiler: OpenWatcom v1.6
/** MergeMove **/
/** Code removed to improve readability **/
/* Please see attached file (RXTNSION.zip) for the current status of the project */
********22 July, 2007*********
download file from http://www.xn--lrka-loa.com/RXTNSION.zip, for more info see included files... unzip to C:\Temp\RxTnsion so you don't have to change paths in the project. Just open and "make".
=====================
mvh
//Jan-Erik
I've tried to write a rexx dll and managed to include some neat features, eject/load CD/DVD, calculate filesizes above 2Gb, list files to rexxqueue, stem and stdout to allow flexible use and earlier output in multithreaded apps (rexxqueue + threads provided by e.g. DrDialog through Start). ;D
I've never managed to get a working example using threads in the C/C++ code to come close to working properly for me though.
Would you please correct the following example so that it can work? ???
The problems (as seem to me) is that it can only return to rxMergeMove if i include a
cout << "Something";
on the first lines of the function(thread) MergeMove, but it (the calling rexx code) end execution before the return from DosWaitEventSem
Compiler: OpenWatcom v1.6
/** MergeMove **/
/** Code removed to improve readability **/
/* Please see attached file (RXTNSION.zip) for the current status of the project */
********22 July, 2007*********
download file from http://www.xn--lrka-loa.com/RXTNSION.zip, for more info see included files... unzip to C:\Temp\RxTnsion so you don't have to change paths in the project. Just open and "make".
=====================
mvh
//Jan-Erik