calling a MF COBOL .dll (ver 3.2.50) from VB5
Quote:
>Does anyone know if VB 5 will call a MF COBOL program.
>I want VB to call a MF COBOL program that will open and read files created
by
>MF COBOL (isam).
[...]
>What I am tring to do is put a VB front end on a MF COBOL program. I do not
>have NetExpress or Dialog.
VB 5 cannot interact with MF 3.2.50, directly.
You have four options:
If you want a Visual Basic front-end:
1. Use VB 4 (16-bit) or earlier, or
2. Add a thunking layer between VB 5 and the MF 3.2.50 DLL.
See the Microsoft Knowledge Base article:
HOWTO Call 16-bit Code from 32-bit Code on Windows 95
Article ID: Q155763
If what you *really* want is a GUI front-end for your COBOL:
3. Look at Flexus spII < www.flexus.com >, or
4. Upgrade or replace your 16-bit MF 3.2.50 with a 32-bit COBOL
that has GUI available.
-------------------------------
Rick Smith
e-mail: < ricksmith at aiservices dot com >