Jump to content

Dave Nottage

Members
  • Content Count

    92
  • Joined

  • Last visited

Community Reputation

16 Good

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Dave Nottage

    Using GetMethod functions in the .NET COM interop

    I think I've found the way: using the GetType_2 method of _Assembly.
  2. Dave Nottage

    Git UI tools

    SourceTree, on Mac
  3. Dave Nottage

    The Android 64bit deadline warnings have started

    Existing apps will not be not removed until 2021: https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html The August 1, 2019 requirement is for updates and new apps.
  4. Dave Nottage

    Using GetMethod functions in the .NET COM interop

    Can you clarify what this means? Correct.
  5. Dave Nottage

    Using GetMethod functions in the .NET COM interop

    How does one do that from Delphi?
  6. If you don't have it already, I recommend downloading the GExperts source: https://sourceforge.net/p/gexperts/code/HEAD/tree/trunk/ Then have a look at the GX_EditorChangeServices unit
  7. I've been successfully (up until now) using the .NET COM interop: https://raw.githubusercontent.com/project-jedi/jcl/master/jcl/source/windows/mscorlib_TLB.pas (as part of JCL) however I'm having trouble invoking a method that is declared with a number of overloads in an assembly. It raises an error "Method xxxx not found", and I'm assuming it is because it does not know which method to use. Regardless, I'd like to be able to use one of the GetMethod calls to find the right overloaded method, probably using GetMethod_5, since I just want to find the method by the name and the parameter types. The question is: how do I go about passing the correct values for the types parameter? If it were using reflection in C#, it would use typeof, so what might be the equivalent in Delphi?
  8. Dave Nottage

    How to run iOS app on physical iPhone

    You followed the instructions, however you followed them literally, i.e. you added the CoreBluetooth framework instead of the SystemConfiguration framework.
  9. Dave Nottage

    How to run iOS app on physical iPhone

    I suspect it's because the SystemConfiguration framework is not listed in the iPhoneOS 12.2 SDK in Delphi's SDK Manager, so you'll need to add it, as per these (though a little old) instructions: https://www.delphiworlds.com/2013/10/adding-other-ios-frameworks-to-the-sdk-manager/
  10. I see one comment about it not working on iOS 7.1.2, which I supposed might have had a bug? Which comments are you referring to?
  11. Dave Nottage

    OnTerminated never triggers

    Should we assume that the ServiceStop event is fired?
  12. Dave Nottage

    Constructors + Destructors in class helpers?

    Probably because that's the sum total of what you can do with class helpers. If you specify what you actually want to achieve, there might be a different solution.
  13. Dave Nottage

    Autocompletion for TEdits revisited

    Not sure what I'm doing differently, however I never need to disable it. Unlike Clippy, it never intrudes unless I ask it to; at least I'm assuming that's case, because so far it has been never.
  14. I think you'd need to sell it better than that. Why would those people be glad? e.g.: what advantages (if any) does TardsPlaya give over other players? How many people are using it now, and give reasons (other than being "glad") as to why people might want to shift to, or start using, TardsPlaya?
  15. Dave Nottage

    TCameraComponent Crash Occasionally While In Capturing Mode

    Make a copy of (bds)\source\fmx\FMX.Media.Android.pas, and put it in your project folder. Modify this routine: function CreateJBitmapFromYuvBuffer: JBitmap; var Image: JYuvImage; Rect: JRect; Stream: JByteArrayOutputStream; LoadOptions: JBitmapFactory_Options; begin SurfaceSection.Acquire; try Image := TJYuvImage.JavaClass.init(SharedBuffer, SharedBufferFormat, PreviewBufferSize.X, PreviewBufferSize.Y, nil); finally SurfaceSection.Release; end; Replacing the SurfaceSection references with QueueSection
×