-
Content Count
61 -
Joined
-
Last visited
-
Days Won
1
Fritzew last won the day on July 10 2019
Fritzew had the most liked content!
Community Reputation
43 ExcellentTechnical Information
-
Delphi-Version
Delphi 10.2 Tokyo
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
struggling while importing c-function with multiple dereferenced pointers
Fritzew replied to Daniel's topic in RTL and Delphi Object Pascal
I would declaree it all as types so t type Pmedia_track_t = libvlc_media_track_t^; PPmedia_track_t = ^Pmedia_track_t; and then function libvlc_media_tracks_get(p_md : libvlc_media_t_ptr; var tracks : PPmedia_track_t) : LongWord; cdecl; procedure libvlc_media_tracks_release(tracks : PPmedia_track_t; i_count : LongWord ); cdecl; use as: var LTracksPtr : PPmedia_track_t; LTrackUse : Pmedia_track_t; LTracks : libvlc_media_track_t; // a record LCount : int32; begin LCount := libvlc_media_tracks_get( FVLCMIntf, LTracksPtr ); // FVLCMIntf is just (an initialised) pointer LTrackUse := LTracksPtr^; LTracks := LTrackUse^ ; // The above will point to the first record you can increment for the following or use a Array[0..0] of Pmedia_track_t libvlc_media_tracks_release( LTracksPtr, LCount ); // should work end; -
with Parallels 16.1 and Big-Sure I don't see the problem anymore. But my Setup is a external Magic Trackpad and Keyboard. Settings for Keyboard and Mouse in Parallels id automatic Game detection
-
Add way to disable and/or change Find unit (Ctrl+F12) feature
Fritzew replied to Tommi Prami's topic in MMX Code Explorer
Simply remove the keybinding in the MMX Settings. -
Oz-SGL, a new generic collections library based on the idea of C++ STL
Fritzew replied to Edwin Yip's topic in Algorithms, Data Structures and Class Design
I'm using Spring4D all the time. Run the Test without debugger...... for me It is one of the best, correction, the best library for Delphi. -
You have never worked with C++ ? I don't think we will see it before a CE
-
I would recommend https://www.upscene.com Using it since years. Love it, but I see now I should really upgrade to the latest Version of the Workbench
-
What are you smoking? Maybe you as technician should lern to read the docs? http://docwiki.embarcadero.com/Libraries/Rio/en/FMX.Grid.TStringGrid_Properties
-
Exception in constructor of class taking ownership of an object instance
Fritzew replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
yes that was my thinking -
Exception in constructor of class taking ownership of an object instance
Fritzew replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
Why using a finally here and not an except block? Then you will only free it if there is a Exception. -
Interfaces, to abuse or not abuse?
Fritzew replied to Clément's topic in Algorithms, Data Structures and Class Design
Yes, it was one of the best moves we have done. The Layout-Control is a amazing component. We have refactored a big application to it (around 300 Forms) and it that has solved all of the problems with High-DPI. But the best, all of the translations problems, length of text's in label's etc are gone now. We supporting 7 languages. -
Hello all, is the a working actual modbus tcp implementation around? Got a new project to work on for a cnc. To be honest I have never used modbus myself so I'm don't know
-
Wow, i was playing with this tool now for an hour or so, using a large c++ project. Amazing work
-
There could be done a lot in the language: In Elements: case myControl of Button: writeln("Looks like a button!"); CheckBox: writeln("This one's a checkbox"); else writeLn("No ide what this is!?"); end; or something like: var i: Integer; var s := case i of 0: 'none'; 1: 'one'; 2: 'two'; 3..5 : 'a few'; else 'many'; end; I like it. If somebody is interested in what can be done look at https://docs.elementscompiler.com/Oxygene/Language/ Using Elements a lot these days, it is always a shock come back to Delphi.... Not speaking about Lambdas..... Delphi: for item in List.Where( function(part : TPart): boolean begin result := part.isVisible; end ) do; Elements: for each item in List.Where(part -> part.isVisible) do;
-
Yes, please! proper namespacing like in Remobjects.Elements would be ...........
-
It is in the master since sept 03 2018. Maybe you should update your clone?