Results 1 to 7 of 7

Thread: A few questions about the command line compiler

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    I'm not sure, but I think that it's impossible to use a Java library with Free Pascal or Delphi, as Java uses a Virtual Machine. Anyway you can use third party libraries if you have the interface.

    For example, Allegro.pas is actually the interface to use the Allegro library, which is written in C. Also, the GL/OpenGL units (one for FPC, the other for Delphi) are actually the interfaces to use the OpenGL library, which is (often) written in C too. Actually you can use most libraries written in C without problems. Other languages than C are a bit tricky, but some are just impossible as Java (except you're using a Pascal compiler that generates a Java executable like Oxygene IIRC). C++ is also one of these "non compatible with" language. Well, actually you can use C++ in (Object) Pascal, but it's too much complex.

    So you just need the interface. If you haven't it then you can write it by yourself. Of course you'll need some knowledge about the language to success.
    Last edited by Ñuño Martínez; 09-03-2013 at 06:33 PM.
    No signature provided yet.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •