Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Official Delphi SDK Download

  1. #1
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,795
    Rep Power
    10

    Official Delphi SDK Download

    Please use this new SDK to develop thinBasic modules using Turbo Delphi.
    Also download thinCore.dll if not already published as public preview or stable version.

    Regards
    Eros
    Attached Files Attached Files
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,795
    Rep Power
    10

    Re: Official Delphi SDK Download

    I've locked down this sticky post because I will use it only to announce new Delphi SDK interface.

    Thanks
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3
    Thanks Eros,

    is the thincore.dll needed? It is a pretty old one, or?

    And why the Delphi postfix in LoadLocalSymbols_Delphi and not just LoadLocalSymbols?

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,795
    Rep Power
    10
    Quote Originally Posted by Michael Hartlef View Post
    is the thincore.dll needed? It is a pretty old one, or?
    No

    And why the Delphi postfix in LoadLocalSymbols_Delphi and not just LoadLocalSymbols?
    To instruct thinCore that that module is developd using Delphi and adapt string parameter passing.
    thinCore search for LoadLocalSymbols and if not found search for LoadLocalSymbols_Delphi


    Attached the latest Delphi SDK I had in my computer.
    Attached Files Attached Files
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  5. #5
    Thank you,

    is there such a prefix for FreePacal too?

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,795
    Rep Power
    10
    Delphi/Pascal is the same for the moment. It was just an experiment because I liked Pascal language.

    Also thinCore.pas is just a subset of all possible thinCore exported functions because I was not able to directly manage BSTR strings in Pascal.
    But if you find a away to handle BSTR strings without special function conversion, we can use the full set of thinCore functionalities.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  7. #7
    From FreePascal 2.4 and up, WideStrings should be compatible with BSTR.

    Btw. this topic is closed.

  8. #8
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,795
    Rep Power
    10
    Thread opened again.

    Yes, I know but from my tests, this issue is still a problem and creates a GPF: http://stackoverflow.com/questions/9...ue-for-interop
    Maybe it can be bypassed using a BYREF parameters but in any case we need to develop new special functions in Core for all functions returning a thinBasic String (BSTR).
    Last edited by ErosOlmi; 08-04-2016 at 11:12.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  9. #9
    Did I got it to work? What do you think?
    Attached Files Attached Files

  10. #10
    To create the DLL I simple called FPC like this:

    ..\fpc\2.6.4\bin\i386-win32\fpc.exe -Mdelphi -ve thinbasic_MyFreePascal.pas
    

Page 1 of 3 123 LastLast

Similar Threads

  1. Delphi SDK Download
    By Petr Schreiber in forum Turbo Delphi language SDK development
    Replies: 1
    Last Post: 15-02-2006, 11:37

Members who have read this thread: 1

Posting Permissions

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