• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jep

#376
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