Results 1 to 7 of 7

Thread: Lazarus/freepascal compile error - how to solve?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    xeEngine_types in '..\bindings\xeEngine_types.pas',
    Try do not use something like this. Use -Fu for finding units instead(you can find it somewhere in Project options, if you use Lazarus).

  2. #2
    Quote Originally Posted by Andru View Post
    Try do not use something like this. Use -Fu for finding units instead(you can find it somewhere in Project options, if you use Lazarus).
    Ok, a fair cop I will change that, thanks - but does that help me with my compile issue though? I don't know, I will see

    EDIT: ok, that seems to have fixed my compiler error now - Woo Hoo! Thanks Andru

    Now the Delphi 2010 test program crashes on finishing when I compile the DLL using Lazarus, but that is another issue

    cheers,
    Pau
    Last edited by paul_nicholls; 11-08-2011 at 12:41 PM.

  3. #3
    Now the Delphi 2010 test program crashes on finishing when I compile the DLL using Lazarus, but that is another issue
    Because there is a difference between size of type Char. Delphi 2009 and higher uses 2 byte per one symbol in String. FreePascal - always 1 byte.

  4. #4
    Ain't Lazarus by default using UTF, so some characters reserve 1 byte and others 2. But i recall reading paul had widestring compiler directive, and i'm not sure about that stuff

  5. #5
    I'm not sure about the 2 byte vs 1 byte Char issue....I am passing strings to the DLL using PWideChar. I will have to investigate this further

    thanks guys

    cheers,
    Paul

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
  •