Board index » delphi » 16 Bit DLLs from Delphi 2.0

16 Bit DLLs from Delphi 2.0

Is there any support for calling 16 Bit DLLs from Delphi 2.0?
My apps simply don't run anymore since the Loadlibrary call
gives an error. A colleague then gave me a Microsoft article
"Calling 16-Bit Code from Win32-based Apps in Windows 95".
Microsoft explains on 4 pages what thunking and all that is
and that you just need to run thunk-compiler and linker
to get things going again.

What does Borland say? Are the tools provided to do this?
What help is there?

Since Delphi 2.0 so far only gave me:
-  5 time higher load rates:
        50 secs compared to 10 secs with Delphi 1.0
-  an SQL-execution in the loading of the app which
   takes 50 seconds and was not there in the 16 Bit app
-  non running 16 Bit DLLs

my answer is: stay away from Delphi 2.0 until these problems
are fixed!

Wolfgang

--
Wolfgang Fahl             - Draegerwerk AG
Wolfgang.F...@draeger.com - Medizintechnik Anaesthesie Datenmanagement
                          - mt-a-dm, KST 5550, 23542 Luebeck, Germany
                          - phone +49 451 882-4237 fax +49 451 882-2796

 

Re:16 Bit DLLs from Delphi 2.0


Quote
f...@pcsurf1.dwhl.de () wrote:
>[snip]
>Since Delphi 2.0 so far only gave me:
>-  5 time higher load rates:
>    50 secs compared to 10 secs with Delphi 1.0
>-  an SQL-execution in the loading of the app which
>   takes 50 seconds and was not there in the 16 Bit app
>-  non running 16 Bit DLLs
>my answer is: stay away from Delphi 2.0 until these problems
>are fixed!

I've just received delphi 2.0 as well.

Interesting. I've seen a noticeable speed improvement with my
application. (of course, I'm doing a lot of CPU intensive stuff which
would benefit from assembly-level optimization)

The 16bit problem is one that I also have (and am trying to solve. ie.
'Me Too Please') but is endemic to the entire range of 32bit application
tools. Thunking is evil. Of course the correct solution is to recompile
DLL's as 32Bit, but sometimes that's not possible.

Apart from that, my applications are now considerably more stable when
running on Windows '95 (akin to saying that a rock, now that it has been
demagnetized, is considerably more stable when sitting on a plutonium
bomb.) since '95 seems to have an intrinisic dislike for all 16bit apps
ever.

.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
  Jeremy Lee  BCompSci(Hon)          When Illusion spin her net,
  j...@data3.com.au                   I'm never where I want to be.
                                     And Liberty, she pirouette
  I do not speak for my company,     When I think that I am free.
  I am not nearly loud enough.         [Peter Gabriel - Solsbury Hill]

Other Threads