Jump to content

Graham Murt

Members
  • Content Count

    25
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Graham Murt


  1. 2 hours ago, Joseph MItzen said:

    Crazy question, but why not just launch the system default PDF viewer? That's what every piece of software I have does.

    Unfortunately, unless you’re running Windows 10,  there simply isn’t a default pdf viewer unless the user has installed one themselves, or installed a piece of software which supports one. (E.g. chrome).

     


  2. Hi guys, 

     

    Thanks for all of your input.  After a little more research it appears that the Pdfium wrapper from Andreas (https://github.com/ahausladen/PdfiumLib) fits my needs perfectly.  I wasn't aware of this component before.

     

    The DevExpress pdf viewer worked perfectly also but as I only require the PDF viewer right now I didn't make sense to purchase the whole DevExpress component set (although these do look awesome and I hope to look at them more next year having watched some videos)

     

    I made some small tweaks to the source code to add a page border and drop-shadow and now it looks a little more polished.  I'll see if I can post these changes back to the repo.

     

    Thanks again for all your suggestions,

     

    Kind regards,

    Graham

     

    image.thumb.png.e74531b33e0989e591514f862af95ba5.png

    • Like 5

  3. Hey guys,

     

    I need to allow users to view PDF's in my Win32, Delphi 11 VCL app which could be installed on anything from Windows 7 onwards. 

    Exe size is important as I'm pushing updates out several times per week.  This rules Chromium embedded out for me. I'd also like it to not require any dependencies and be fully embedded in the *.exe.

    I've looked at TEdgeBrowser, this would work fine for Win10, where edge has PDF support but will cause support issues with earlier versions of Windows.

    So, I'm kinda left with options of either Gnostice or DevExpress. 

    I've installed the DevExpress trial and the PDF viewer works great but the trial will only work with runtime packages enabled.  Therefore I have no idea of the overhead it will add to my *.exe.

     

    So, (finally) to my question... does anyone have a DevExpress subscription? If you do, please could you add a PDF viewer to a blank app, compile it and let me know the increase in *.exe size?  In the meantime, I'll see if I can try the Gnostice offering.

     

    Thanks,

    Graham


  4. Hi Edwin,

     

    Ok, I've merged ksSES and ksS3 into a single code-base. I've added a VerifySender method to the SES interface also. Lots of refactoring of the units will allow us to easily add more API methods and hopefully branch out into other AWS services.

     

    https://github.com/gmurt/ksAws

     

    I've also added support for NetHttp and Indy via a Http interface unit.  To use Indy, simply remove the "." (period) character from this define in the ksAwsHttpIntf unit.  {.$DEFINE USE_INDY_HTTP} 

     

    I'll close down the existing S3 and SES repos later today and direct everyone to the new ksAws repo.

    • Like 3

  5. Hi Edwin,

     

    I will modify the code today to abstract out the http interface. I was working last night on merging the ksS3 and ksSES code to use the same base classes. Working really well with both now sharing the same signature generation code.

     

    I’ve merged both ksSES and ksS3 into a more suitable ksAWS repo here which I’ll publish later today along with more functionality added to the ksSES interface.

     

    Kind regards,

    Graham

    • Like 2

  6. 15 minutes ago, Edwin Yip said:

    Thanks! Definitely it'll be useful to the rest of us!

     

    Actually I've cloned your old version of ksSES to my local computer, before it's somehow disappeared like ksStripe 😄

    There is a file called synacode.pas which is missing from the new version you've just published, I assume it's no longer needed.

    Update 1:  First try: Just FYI - like ksStripe, it requires the new http client introduced since XE7 🙂

    Yes, we need Synacode.pas from the synapse library to use the HMAC_SHA1 function.  http://svn.code.sf.net/p/synalist/code/trunk/

     

    I'm still not 100% of what I'm allowed to GitHub... am I allowed to include this source file from Synapse in my Repo? Obviously without changing it in any way.  Let me know, if it's allowed, I'll include it.

     

    No problem, I'll add support for Indy for the next update.


  7. Just now, Edwin Yip said:

    Let me explain, usually after a customer bought a software, s/he actually bought a license key, right?

    So how the license key is delivered to the customer? We usually send it through email, with the payment processing platform I've used in the past, the license key delivery is done by their email system, which is usually more reliable then ourselves because it can usually go through the spam-filtering system all around.

     

    I'm also using SES, but through the SMTP interface. I remember with SES, all the target email addresses have to be approved by the SES system, maybe that's because I'm using the free plan, not sure...

    I'm not sure Stripe has any support for License Key managment.  With regards to SES, No the target emails do not need to be verified, you only need to verify email addresses which you want to send emails "from", i.e. the Sender address.  Not sure if it's of any use, but I've just uploaded my SES code to GitHub.  Again, doesn't support all SES functionality but works well for me and can be added to if required.  https://github.com/gmurt/ksSes


  8. 1 hour ago, Edwin Yip said:

    @Graham Murt, would you share with us all your tick boxes?

    Since Stripe only handles the payment, I assume, if you write desktop software, you'll have to send license keys to the customers? One difficulty I foresee will be, although we can implement our back-end server for generating and sending activation/license keys, this is not the difficult part, the question will be - which reliable email sending service to use?

    I'm not exactly sure what you are asking here, Stripe is a payment gateway - license keys would need to be handled by your own software.  If you're simply asking what email service I use, I use the SES service from Amazon Web Services.  I also have written an interface to this service so I'll upload that shortly to my GitHub page.


  9. We’re now looking for a small number of Beta testers to try out our new iOS & Android build automation tool - MonkeyBuilder.

    The website is still under development but has some information to give you an idea of what it can do.

     

    https://www.monkeybuilder.io

     

    Beta test numbers are limited to begin with but we hope to open it up to more users over the next couple of weeks.

     

    If you are interested, please comment here or contact us via the email form on the website.

    • Like 1

  10. I have a late 2014 Mac mini With 8gb... I also swapped out the HD for a 500GB SSD. It’s fairly rapid now running the latest MacOS and latest XCode when run from Delphi. If I was purchasing a Mac now, I’d probably push for 16GB ram just to future proof it a bit more against any new MacOS and XCode updates.

    • Like 1
×