Re: Dephi 2 limitations


[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]

Posted by webmaster Guido on November 28, 2002 at 02:31:26:

In Reply to: Re: Dephi 2 limitations posted by lontek on November 26, 2002 at 16:57:51:

: Thanks for the helpful reply!
: I found a few programs written in Pascal that can control the parallel port data bits. Am I right to assume that programs written in Pascal will work in Delphi? If I write a program in Delphi and have it "call" this special Pascal code for controlling the Parallel port it "should" work , correct?
----------

Some Pascal programs work in Deplhi, but in most case you have to rewrite them. But I'm quite sure coding for the I/O ports is different. If I'm not mistaken, "standard" Pascal has some special instructions for this, that do not exist in Delphi. You should really look for Delphi-specific code or components for this.

I've seen some webpages devoted to Delphi coding for parallel and serial ports, both freeware and shareware. Some of them use assembler coding (can be done straight in Delphi!), some of them use Windows API-functions, some of them use extra DLL's, but I didn't try out any of it. So it looks like you have to search, download and test, until you find the "good" stuff that does exactly what you want it to do.


Related Articles and Replies:


[ DelphiLand Discussion Forum ]