Mail Archives: djgpp/1996/05/18/11:45:10
"Alexander V. Lukyanov" <lav AT video DOT yars DOT free DOT net> wrote:
>Since DJGPP is supposed to run under plain DOS, how will win32 be
>suitable for it? djgpp dll could be just _compatible_ with win32, imho.
The point is that coff has no support (in the form that djgpp uses)
for dynamic linking. The PE/COFF has a standard method for this and
contains the appropriate structures, hence to create a dll for dos use
you would be able to just write a loader that loaded PE/COFF images
and did the dynamic linking.
As for compatibility, you can get many dlls for windows that do not
make any calls to the Win32 api (such as compression dlls etc.) and
one can also stick a class or class library in a dll. These can then
be shared between Win32 programs and DOS programs.
However the main point here is that the development of Win32
compatibility would open the way for a simple and effective dll under
DOS.
There are also many other advantages (compatibility with code
generated by other compilers, third party dlls...).
Malcolm
- Raw text -