Board index » delphi » Calling 32-bit Delphi DLL's from BP

Calling 32-bit Delphi DLL's from BP

I'm trying to compile DOS programs with Delphi 2's DCC32 compiler, and
are making progress, but still have some mountains to climb.. .

My main problem is that I'm unable to link in any DLL files, and many
(needed) system functions in Delphi32 is in external system DLL's.
(windows.pas and system.pas was quite a job to make "dos-friendly"..)
I could really use some of the Variant routines in oleaut32.dll.

Maybe it's a solution the other way around, to call Delphi 32 bit
console-mode DLL's from BP7 protected mode programs?
I got this to work once, but the 32-bit DLL had to be VERY simple,
just a few assignments to some string variables and such things..

Calling 16-bit Delphi 1.0 DLL's from BP7 would also be nice.
When I try this, I get a 216 error if I call any function that again
call some win-specific routine.

Is there anybody which has tried any of these things, or know any
tips/tricks/web sites etc. please tell me about it!

I've been working a lot with these things the last year, and have made
great progress, but It seems that the lack of DLL support makes the
final programs pretty simple and useless..

However, its FUN!

By the way, I'm also using a DOS extender (PESTUB, freeware) to get
the 32 bit dos-EXE's to run.

My apologies to those who see red when the word "delphi" appears in
"comp.lang.pascal.borland", but this really relates to both Delphi and
BP.

* Robert Voje
* http://home.sn.no/~rvoje
* Everybody makes mistakes now and then,
* but to really{*word*222}up, you need Windows95

 

Re:Calling 32-bit Delphi DLL's from BP


I know you cannot call DLL in 16bit. DOS. I'll you cannot in 32bit either.

Stephen Wright

Re:Calling 32-bit Delphi DLL's from BP


Quote
swright...@aol.com wrote:
>I know you cannot call DLL in 16bit. DOS. I'll you cannot in 32bit either.
>Stephen Wright

Wha the foo...?

--
History doesn't repeat itself --- historians merely repeat each other - Hegel.

HomePage:  http://ds.dial.pipex.com/matt.parkins/
E-mail:    matt.park...@dial.pipex.com

Other Threads