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.


Messages - Steven Levine

Pages: 1 [2] 3 4 ... 7
16
Internet / Re: Dooble releases-Qt6
« on: June 07, 2025, 09:35:53 am »
Neil,

I recommend you verify your VIRTUALADDRESSLIMIT setting.  Your mem /v output:

 Available virtual memory:   1,424 MB

looks to me like I would expect it to appear for VAL 1536.

17
Programming / Re: EDM/2 - The API Project - Undocumented
« on: May 27, 2025, 08:42:25 pm »
My choice would be DevHlp_RAS for assembler usage and for DevHelp_RAS for C usage because these are what you will find in pdd.ref and the DDK sources.

FWIW, the references you found to DevHlp_AddTraceEvent and DevHlp_SysTrace in the SMP Addendum are not Device Help definitions.

DevHlp_AddTraceEvent is the description the writer chose for Hook ID 61/34 which represents a location in the kernel code.  I've yet to find any actual Device Helper related code that actually uses this symbol.

DevHlp_SysTrace is part of a comment in the assembly language example for dh_PerfSysTrace.  Again, I've yet to find any actual Device Helper related code that actually uses this symbol.

It probably cannot hunt to mention these alternative references to DevHlp_RAS and DevHelp_RAS, although I'm not sure how I would describe why they exist.

18
Applications / Re: [Arca Noae] Dynamic Icons version 2.5.6
« on: May 25, 2025, 08:44:07 am »

19
Applications / Re: Lotus 123 + organizer - OLE
« on: May 24, 2025, 12:57:22 am »
There is also

  IBM Lotus SmartSuite for OS/2 Warp 4 Release 1.7 Fixpack 3

20
Applications / Re: Lotus 123 + organizer - OLE
« on: May 24, 2025, 12:44:07 am »
Here's a copy of Suite15.txt

21
Applications / Re: SFTP client
« on: May 23, 2025, 06:12:10 am »
There's no problem calling C code from C++ as long as the declarations are properly wrapped in extern "C" blocks.

We don't have a get_pid, but we do have getpid which libc defines in sys\process.h and it is properly wrapped.

22
Applications / Re: SFTP client
« on: May 23, 2025, 05:12:51 am »
Sorry for the bad link.  It was a leftover from the early development testing.

1.1 is the current version.

BTW, I missed the GUI requirement.  Unfortunately, SFTPClient is a VIO app.

23
Applications / Re: SFTP client
« on: May 22, 2025, 08:46:57 pm »
Have you considered Peter Moylan's SFTP client?

  ftp://anonymous@ftp.pmoylan.org/FtpServer/SFTPClient_0.1.zip

See

  http://www.pmoylan.org/pages/os2/FtpServer.html

for more details.  Peter supports these via the

  Moylan FTP Server Mailing List <ftpserver-list@os2voice.org>


24
Programming / Re: EDM/2 - The API Project - Undocumented
« on: May 22, 2025, 08:49:11 am »
It really depends on what your goals are.  In general, you will find that the DevHelp prefix is used for C language bindings and DevHlp is used for Assembler bindings.

You can see this pattern if you look at your:

  https://www.edm2.com/index.php/DevHelp_ProcBlock

which looks to me as if it came from pdd.ref.

Notice also that the Assembler bindings are listed before the C bindings implying that they are more likely of more interest.  This is part of history. The kernel and device drivers were originally written in assembler.  It was only later that C became more widely used for device driver development and kernel development.  It would not surprise me if an early version of pdd.ref only documented the Assembler bindings.

This evolution shows up in early books such as Ed Iacobucci's "OS/2 Programmer's Guide" which discusses writing applications in C and Pascal, but all the examples are in Assembler.

The items in red are another case of inconsistent naming.  DevHlp_SortReqPacket is really DevHlp_SortRequest or DevHelp_SortRequest which is in the wiki.  FWIW, DevHlp_SortReqPacket is a better name for the request, but it appears IBM never got around to updating all the references DevHelp_SortRequest, assuming that was the plan.

25
Applications / Re: Lotus 123 + organizer - OLE
« on: May 22, 2025, 12:43:26 am »
Hi,

I finally remembered where Lotus documented the ASWAN issues.  It's Suite15.txt in the root of the \LOTUSW4 directory.  Have you tried all the suggestions in the section that discussed the known ASWAN issues?

26
Programming / Re: EDM/2 - The API Project - Undocumented
« on: May 20, 2025, 09:14:00 am »
I agree that it appears to be a typo.  I was thinking it might have been DosQuerySysState, but since the list is somewhat ordered DosQueryMemState is probably more likely.

27
Programming / Re: EDM/2 - The API Project - Undocumented
« on: May 19, 2025, 12:49:16 am »
Hi,

The Device Helpers interface naming is inconsistent for historical reason.  There is no one base reference for the Device Helpers interface.  If you are going to pick a reference doc to start with, I recommend pdd.ref from the DDK.  For sources, the the DDK headers are the place to start.

You will find references that match "Device Helpers", DeviceHelp, DevHelp, DevHlp and a few others.

As you found, there are some references in the Toolkit sources, but they are far from complete and, TTBOMK, were never used to write device drivers.

Part of the potential confusion is that the Device Helpers are not API functions per se, but rather a set of request codes and data structures passed to a single function.  The kernel passes a pointer to this function to the driver when it passes control a driver for the first time.

What you are finding with functions like DevHelp_RegisterPDD(char *PDD_Name, void *PDD_Function); are bindings defined in various header files that make it easier to call the DevHlp consistently for a given request.  The bindings are available in various forms for various compilers and assemblers.  From the DDK, there's devhlp.lib and the associated devhlp.h.   There's also devhelp.h with a set of OpenWatcom macros.

28
Applications / Re: Lotus 123 + organizer - OLE
« on: May 16, 2025, 10:10:54 pm »
Hi,

I can't find my notes on this, but I dimly recall that one needs to run RegRx in the Lotus Accessories folder to fix this.

RexRx rebuilds the values in REGISTRY.DAT that SmartSuite depends on.



29
Programming / Re: Qt6 Application Testing
« on: May 08, 2025, 07:19:50 pm »
init-repository is a perl script.  It appears something is going wrong with hash-bang processing on your setup.

30
Setup & Installation / Re: PYTHON - v2 vs v3 and dependencies...
« on: April 27, 2025, 11:10:14 pm »
The hashbang spec would apply if you ran the script from a hashbang aware shell.

ANPM always invokes the scripts via the python command line and forces 2.7 to be used.  The relevant code is at:

  PyExec.VRX:63
      ADDRESS CMD '@python2.7.exe' full_cmd '2>&1 |RXQUEUE' listqueue

Pages: 1 [2] 3 4 ... 7