If you meant Turbo C 2.0 it is impossible because
it doesn't support Windows. If you have Windows
supported Turbo C++ series you can generate
DLL for 16 bit Windows. It is very easy because
IDE supports it. Borland C++ and C++ Builder
series support both 16 bit and 32 bit DLL ( win32
or win32s ). It's also very easy if you use IDE.
Well... the ONLY thing i know you can do is to use the an Windows API package for Turbo C to compile your program.
You have to use a DLLMain as main function instead the regular C main function and use (e.g) a DEF file to specify the functions exported by the library. This would be the general idea, i am not sure if you are asking about compiler and linking options to generate that DLL...
You can find the best information about DLL's on MSDN page Dynamic-Link Libraries Overview.
Good luck! Nosferatu
We are what we eat...
There's no such thing as free meal...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.