N
Nawabzada
Hello Friends -
I'm working on a DOS box and received a DLL from a vendor (so I don't
have source code). This DLL is required for my C program.
I have 3 versions of the DLL: Borland-compatible 16-bit DOS,
Microsoft-compatible 16-bit DOS, Microsoft-compatible 32-bit Windows.
I have been using the Microsoft 16-bit version using MSVC 1.52 (this is
the version of the compiler compatible with this DOS DLL). And it's
been working great, however, my program needs to dynamically allocate
more than 65535 bytes of memory (which of course is the limitation of
16-bit DOS).
So it looked like my only option was to use a DOS Extender to compile
my program as a DOS 32-bit program. So I used Borland C++ 5.01 to
compile a Win32 program and then used WDOSX DOS Extender to convert
that into a DOS 32-bit program. The program runs, but it's having
problems running the Win32 DLL.
So is there a way to convert a Win32 DLL to be compatible with a DOS32
program (created using a DOS Extender)?
Or alternatively, is there a way to statically link in a Win32 DLL into
a Win32 project to create a Win32 EXE? It's possible if I can create
an EXE with the DLL library linked into it that I can then convert that
"complete" EXE into a working DOS32 application using the DOS Extender.
Thanks for Your Attention.
-n
I'm working on a DOS box and received a DLL from a vendor (so I don't
have source code). This DLL is required for my C program.
I have 3 versions of the DLL: Borland-compatible 16-bit DOS,
Microsoft-compatible 16-bit DOS, Microsoft-compatible 32-bit Windows.
I have been using the Microsoft 16-bit version using MSVC 1.52 (this is
the version of the compiler compatible with this DOS DLL). And it's
been working great, however, my program needs to dynamically allocate
more than 65535 bytes of memory (which of course is the limitation of
16-bit DOS).
So it looked like my only option was to use a DOS Extender to compile
my program as a DOS 32-bit program. So I used Borland C++ 5.01 to
compile a Win32 program and then used WDOSX DOS Extender to convert
that into a DOS 32-bit program. The program runs, but it's having
problems running the Win32 DLL.
So is there a way to convert a Win32 DLL to be compatible with a DOS32
program (created using a DOS Extender)?
Or alternatively, is there a way to statically link in a Win32 DLL into
a Win32 project to create a Win32 EXE? It's possible if I can create
an EXE with the DLL library linked into it that I can then convert that
"complete" EXE into a working DOS32 application using the DOS Extender.
Thanks for Your Attention.
-n