On Wednesday, October 20, 2021 at 6:25:32 PM UTC-6, J. Clarke wrote:
> Before I
> rewrite the whole damned thing in Python with an open source 3270
> emulator, does anybody have an idea where I might find an EHLLAPI that
> works with 64-bit Excel?
Out of curiosity, I did a Google search and found this page by IBM about
that product...
https://www.ibm.com/docs/en/personal-communications/6.0?topic=programming-introduction-standard-ehllapi-enhanced-ehllapi-winhllapi
It notes that IBM provides three versions of EHLLAPI:
Standard EHLLAPI (16- and 32-bit)
WinHLLAPI (16- and 32-bit)
IBM Enhanced 32-bit HLLAPI (ELLHAPI32)
Since 64-bit versions of Windows have no problem running pure 32-bit software written for
Windows 95, it's only 16-bit software for Windows 3.1 that they can't run, in my ignorance
this suggests that IBM's Enhanced 32-bit HLLAPI might *possibly* work, but as I certainly
can't guarantee that, you'll need to ask around. But at least there's a *hope* something
exists that might work.
However, reading further through that page, the other two versions of EHLLAPI have
separate 16-bit and 32-bit interfaces, and so if the 32-bit interfaces of either of them
don't work, there is likely to be a problem.
Searching a bit more, I found this Microsoft page
https://docs.microsoft.com/en-us/office/vba/language/concepts/getting-started/64-bit-visual-basic-for-applications-overview
which claims VBA allows 64-bit Microsoft Word, Excel, and so on to call 32-bit
APIs. But I have to assume this is all stuff you've already tried, and it hasn't
worked.
John Savard