Recent Posts

Pages: [1] 2 3 ... 10
1
Applications / Re: 3270
« Last post by j on Today at 05:14:46 am »
PCOMM 4.3 and ZOC 4.1.5
https://www.os2site.com/sw/comm/terminal/index.html

ZOC OS/2 developper
https://www.emtec.com/download.html#zocfiles

Interesting! I didn't know about ZOC, do you recommend over PCOMM?
2
Programming / Re: Bigicons
« Last post by David Graser on Today at 12:33:58 am »
Noia Warm Linux theme.  Icons have been modified and revised to fit our desktop and programs.
3
Programming / Re: ClassiCube porting thread
« Last post by Jochen Schäfer on May 06, 2024, 08:13:56 pm »
Yes, installed the newest runtimes.
szFullFile can be *.ext, and yes
Code: [Select]
*(args->filters) is correct.
strcpy vs memcpy doesn’t matter. I tried alle combinations. I also tried
Code: [Select]
char filter[CCHMAXPATJ]=„*.*“, but it doesn’t matter.
4
Programming / Re: ClassiCube porting thread
« Last post by TeLLie on May 06, 2024, 07:54:21 pm »
Hi all
Moest are from 26-01-2024
Look @ https://ecsoft2.org/eco-software-runtime
5
Programming / Re: ClassiCube porting thread
« Last post by Lars on May 06, 2024, 06:56:38 pm »
1) Are you making sure that you are passing a fully qualified filename to fileDialog.szFullFile ?
2) is *(args->filters) the correct pointer or rather (args->filters) ? Shouldn't you copy with strcpy rather than memcpy ?


Since I have zero problems using the eCosoft runtime functions, regardless of application:

3) have you installed the latest version of the eCo Software "Win" and "Base" runtime ? I have version 2017.11.15.0 and 2018.11.8.0 installed, respectively. I think these should be the newest versions.
6
Applications / Re: Help with Rexx and Theseus
« Last post by roberto on May 06, 2024, 04:37:49 pm »
What happened to me is that when I saw that this function RT2GetLinMemMap was not in the help, I thought that maybe it opened up other functions that do exist but are not documented.
But if it's not implemented, it's not.
I'll experiment in a different way.
Saludos
7
Programming / Re: ClassiCube porting thread
« Last post by Jochen Schäfer on May 06, 2024, 03:20:16 pm »
Another problem, I can't solve, is that the eCosoft Runtime's file dialog crash with the following code
Code: [Select]
FILEDLG fileDialog;
HWND hDialog;

memset(&fileDialog, 0, sizeof(FILEDLG));
fileDialog.cbSize = sizeof(FILEDLG);
fileDialog.fl = FDS_HELPBUTTON | FDS_CENTER | FDS_OPEN_DIALOG;
fileDialog.pszTitle = (PSZ)args->description;

memcpy(fileDialog.szFullFile, *(args->filters), CCHMAXPATH);
hDialog = WinFileDlg(HWND_DESKTOP, hwndFrame, &fileDialog);
if (fileDialog.lReturn == DID_OK) {
}
I uninstalled the runtimes. Nothing crashes, everything is fine. I reinstalled the newest runtime. The apps crashes again.
Other apps, like EPM, have no problems. I also replicated the example for WinFileDlg, but it's all the same.
My popup log is attached.

1) are you sure that args->description will be a valid address across the call to WinFileDlg ?
2) What did you set fileDialog.pszOKButton to ?
3) What did you set fileDialog.pszlDrive to ?

In particular for the latter, the doc does not say that you can set it to a NULL pointer. Even if the code example implies differently. And even if the default dialog procedure gracefully handles NULL pointers for certain arguments, then the eCosoft runtime dialog procedure override might not.
1.) Yes, because WinFileDlg does not return, until you close the dialog. All samples would not work with local variables. Also, I tested that code with a local variable in a different script program and there it works, even without explicitely setting 2.) + 3.)
8
Programming / Re: ClassiCube porting thread
« Last post by Jochen Schäfer on May 06, 2024, 03:09:28 pm »
Sure, I didn't tell you, because it's not used anymore. You quoted the code snippet, that's what I'm working with.
9
Applications / Re: WordPro issues
« Last post by Remy on May 06, 2024, 02:57:48 pm »
Hello all,

Somehow, WordPro started having some issues, without my touching any setting nor doing any update:
- When creating a blank file, it complains that it cannot open the default.mwp (that, I checked, is in its folder, and I copied one from another installation, to no avail)
- The icons at the top have all disappeared.Ctrl+q (or the equivalent menu) does not change anything, that menu never gets selected.

Any idea how to fix that?

The file should be under:
Directory of ...\LOTUSW4\SMASTERS\WORDPRO
18/12/96 10:16         13 228    124 a---  default.mwp

10
Programming / Re: ClassiCube porting thread
« Last post by Lars on May 06, 2024, 01:14:23 pm »
In addition, in your latest checkin you also do this (without telling us):

fileDialog.fl = FDS_HELPBUTTON | FDS_CENTER | FDS_PRELOAD_VOLINFO | FDS_OPEN_DIALOG;
fileDialog.pfnDlgProc = WinDefFileDlgProc;

The latter is completely unnecessary as you are not providing your own file dialog window procedure anyway.

But what's more, if you use FDS_PRELOAD_VOLINFO, it is your responsibility to allocate and also manage memory for
fileDialog.papszIDriveList (read further info of how the table needs to look like in the explanation for this field).

At least that is what I would try out to check if it makes a difference.
Pages: [1] 2 3 ... 10