Giter Club home page Giter Club logo

Comments (3)

ev1313 avatar ev1313 commented on June 23, 2024

The mistakes with the Pointers are corrected.

But TThreadID is in the system-unit of Delphi AND Lazarus, declared as THandle.

It is necessary because this function represents the declaration of _beginthreadex from the WIN32-API.

from pascal-sdl-2-headers.

GrieferAtWork avatar GrieferAtWork commented on June 23, 2024

ok...
Wonder why it gave me that compiler error...
(using 'Embarcadero® RAD Studio 2010 Version 14.0.3615.26342'
^ taken from the info page)

Btw: it might be possible that TThreadID was only included in XE4
(see this doc: http://docwiki.embarcadero.com/Libraries/XE4/en/System.TThreadID)
^ I couldn't find an earlier documentation of that type

type TThreadID = Cardinal;
^ as seen in the doc mentioned above

And since my Delphi-version came before XE4, you might want to add this code:

{$IFDEF ver210}
type TThreadID = Cardinal; //compatibility type for old delphi versions
{$ENDIF}

from pascal-sdl-2-headers.

ev1313 avatar ev1313 commented on June 23, 2024

well i've added this now for all delphi-version before XE2 (there it's declared) as Cardinal. thx.

from pascal-sdl-2-headers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.