Comments (3)
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.
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.
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)
- implementation expected but ; found error in SDL2_net.pas HOT 5
- Bugs in sdlsyswm.inc HOT 5
- Missing field "last_fullscreen_flags" in TSDL_Window HOT 2
- Delphi compilation HOT 2
- f21f039 broke Free Pascal support HOT 1
- Linux jedi.inc compile problems HOT 2
- Invalid TSDL_RendererFlip declaration HOT 2
- Missing SDL_GL_GetDrawableSize HOT 2
- post link is wrong for dgl sources HOT 2
- it Can be used in the firemonkey? HOT 1
- missing some core units HOT 1
- sdl2.0.8 crashes with software rasterizer HOT 10
- Switch to GitLab? (MS bought GitHub) HOT 5
- Change license in accordance with SDL 2 library? HOT 4
- A small bug in sdl2_ttf.pas HOT 1
- Returning PAnsiChar instead of PChar HOT 4
- Compiling for Android from Delphi HOT 4
- more of s uggestion than a bug HOT 2
- Support static linking HOT 2
- Kindly asking for integrating the pull requests. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pascal-sdl-2-headers.