Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 05/31/21 in all areas

  1. TFileStream ;D Hmm, from what I know mapping doesn't read-and-allocate the contents of the mapped file. Contrary, it allows working with the contents like it was allocated in memory
  2. Dave Nottage

    [Android]How to make an event listener?

    By "events", if you mean things like whether the app became active, entered the background etc, you can have the app subscribe to TApplicationEventMessage: http://docwiki.embarcadero.com/Libraries/Sydney/en/FMX.Platform.TApplicationEventMessage Use TMessageManager to subscribe to the event, e.g: TMessageManager.DefaultManager.SubscribeToMessage(TApplicationEventMessage, ApplicationEventMessageHandler); ..and to unsubscribe when you no longer wish to receive the messages: TMessageManager.DefaultManager.Unsubscribe(TApplicationEventMessage, ApplicationEventMessageHandler); Example handler: procedure TMyClass.ApplicationEventMessageHandler(const Sender: TObject; const M: TMessage); var LMessage: TApplicationEventMessage; begin LMessage := TApplicationEventMessage(M); case LMessage.Value.Event of TApplicationEvent.BecameActive: DoAppBecameActive; TApplicationEvent.EnteredBackground: DoAppEnteredBackground; // etc end; end;
  3. David Heffernan

    Love your competitor :-) ..... ?

    That's a strange way to spell C# and Typescript
  4. Why would you wrap a memory map with a stream? You use a memory map when you want to access a file using memory operations. But the stream interface reads chunks of the file in a caller provided buffer. If you want a stream interface I don't see the point of a memory map.
  5. Do it 😉 considering that 32bit will likely become obsolete in the near future, I doubt anyone will implement the functionality you're telling about. From the 1st glance, it shouldn't be too hard to implement
  6. David Heffernan

    Love your competitor :-) ..... ?

    Heljsberg clearly made the right decision for his own career and I would argue that the world of programming is better for him having move to MS than it would have been had he not.
  7. Please improve your update process: customers need to contact you and wait for a link to get updates. This could take a few hours or days which is far too long, especially when updating to a new version of Delphi and ImageEn is the ONLY missing component which I have to wait for 😞 You should either provide a secure download location for existing customers, or automatically send a download link for archiving purposes when a new release is available. Thanks.
×