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
    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.

  2. #2
    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

  3. #3
    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
  •