Board index » delphi » using virtual pascal

using virtual pascal

Hi,

some days ago I finally got my Turbo Pascal code compiled with the
Virtual Pascal evaluation copy 1.1 under OS/2. Unfortunately, I cannot
repeat this : now I always get a message "VPUTILS.LIB" not found. I'm
using the VPUtils unit, but I can't find VPUTILS.LIB ...

I'd be grateful for a hint ! Please send me a personal mail, I'm not a
regular reader ...

Thanks,
Marco
--
Marco Schmidt - Student of Computer Science, Aachen, Germany
mailto:ma...@pool.informatik.rwth-aachen.de
http://www.geocities.com/SiliconValley/Lakes/6686

 

Re:using virtual pascal


In article <3397136c.5966...@news.rwth-aachen.de>,
  ma...@pool.informatik.rwth-aachen.de (Marco Schmidt) wrote:

Marco,

Quote
> some days ago I finally got my Turbo Pascal code compiled with the
> Virtual Pascal evaluation copy 1.1 under OS/2. Unfortunately, I cannot
> repeat this : now I always get a message "VPUTILS.LIB" not found. I'm
> using the VPUtils unit, but I can't find VPUTILS.LIB ...

Your problem with a missing VPUTILS.LIB is caused by the fact that the
demo version does not include the source code for the RTL but only the
interface sections of the units.

As demonstrated in the example programs and in the documentation, your
programs  must dynamically link to the RTL DLL supplied, which contains
all RTL functions.

To do this, you need to include a $Dynamic directive:

{&Dynamic VP11Demo.Lib}

The linker then no longer looks for the .LIB files for the units, but
instead uses the functions defined in the DLL.

As an aside, this makes for really small programs :-)

Yours,
Allan Mertner

This post was also sent by e-mail.

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet

Other Threads