Jump to content

RCrandall

Members
  • Content Count

    35
  • Joined

  • Last visited

Posts posted by RCrandall


  1. I'm new to REST and trying to communicate with web services generally.  I have lots of experience with other areas of coding in Delphi but no background whatever for web services.  I now have a task to get a web service client going and have done a complete face plant.  Often I used to be able to get a new library of components and work out from the docs and the properties/methods of the components what needed to be done.  It required a bit of patience and Googling but it worked.  This isn't working this time - the new task is just a whole order of complexity above what I have time for now.

     

    By any chance, has anyone used the standard TRestClient / TRestRequest / TRestResponse components in real life?  Can you possibly point me to a good write-up and/or working code that illustrates its use?  I feel like I have looked everywhere and come up with just fragments, most of which don't seem to work.

     

    In the alternative, if anyone knows their way around this area and had the time to help me directly, I could come up with some money to make it happen.  I have a clear requirement I'm trying to satisfy and I've got a test program that connects to the web service (or at least appears to) and I can send and parse the results of GET requests successfully.  I'm flummoxed trying to get the first POST request to work though.  I appear not to have set up encoding correctly or some other gotcha because of my lack of background knowledge.  My specific stopper right now is a "403, Forbidden: Content type 'multipart\/form-data' is not supported."  I'm stuck on that and need help!

     

    Thanks in advance to anyone with suggestions or can help in some way, cheers, Rob Crandall


  2. Cool!  While you were doing that I manned up and tried to find the problem myself.  I updated the GR32_Compiler.inc file with some Delphi 11 info along the lines of the previous updated and darned if it didn't compile!  I was astonished.

     

    Anyway, thank you Anders and I will very cheerfully use your package.  My main hope was that Delphi 11 would not have the endless IDE problems with Code Insight and related, and so far it is working perfectly!  More astonishment!  Some days that start badly just end up being good days after all.

     

    Thanks everyone for your help.

     

    Cheers, Rob C

    • Like 1

  3. Yes, and it reported 80 erorrs on the RX3 package and then 74 errors when I copied over the newer RX4 package.  One or two I might be able to handle, but not that many.  If only I knew just the right thing to do perhaps I could finesse it (that remains plan C for me) with some code or other changes, but that is a very deep dive to do right.  Plan B is to ask here to see if anyone else has run into this, and Plan A is to keep Googling to find the people and comments that helped me get it working for Delphi 10.4.  

     

    Sincere thanks to everyone for looking at this and making suggestions!

     

    Rob C


  4. I have a project that I'm trying to move from 10.4.2 to 11 and the very last library I need a new version for is Graphics32.  As near as I can tell, it has not been brought up to Delphi 11 yet, but then I'm not very experienced with the nuts and bolts of this.  I downloaded the latest from GitHub but it not seem to even cover Delphi 10.4, specifically is was missing the "RX4" folder in \Source\Packages that I needed for 10.4.  My hazy recollection is that someone else contributed this at the time I got it.

     

    There were GitHub commits within the last two weeks do it clearly is not dead, but I'm at a loss to figure out what its present status is either.  Is this project still being maintained?  Just having the source is wonderful, of course, but I have no appetite or skill to try and do the conversion to Delphi 11 myself.  Over the years, I've become very leary of trying to modify any third-party library in any way.

     

    I'm hoping to try out the improvements in Delphi 11 but I'm blocked.  Can anyone point me to the right URL and tell me what the status of this library is?

     

    Thanks in advance, Rob Crandall

     

     


  5. I find that 10.,4.1 needs three minutes to compile my project where 10.3.3 with IDE Fix Pack needs only 25 seconds.  I've been lurking at the site but have seen no word yet on when an update with Sydney support will be out.  I don't remember it ever taking this long before.  Is anybody aware of any hold up in particular?

     

    The page I am monitoring is https://www.idefixpack.de/blog/ide-tools/ide-fix-pack/

     

    I'd like to switch over to 10.4.1 but 3 minutes is just too long!

     

    Rob Crandall

    • Like 1

  6. Apologies in advance if I posted this to the wrong place.  I was just asked this question and a quick search showed there are multiple choices.  I know nothing about Lua and have never tried to integrate an external scripting language before.  If anyone has done such a thing and has some tips to share, I would be all ears.  I know this is a very general question, but the whole thing has come up in a hurry and I'm struggling to get up to speed quickly!

     

    Regards, Rob C

×