Jump to content

Randall Carpenter

Members
  • Content Count

    13
  • Joined

  • Last visited

Posts posted by Randall Carpenter


  1. I am working on creating a API client using Delphi pascal.  I have been unable to get it accept my POST request.  I continue to get a 400 Bad Request error.

    The owners of the API server have indicated the C code shown below properly works.  

     

    Unfortunately I am not a C programmer.  Would someone be willing to translate the following C code to Delphi pascal.  I would tremendously appreciate it.  

     

    CURL *hnd = curl_easy_init();

    curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
    curl_easy_setopt(hnd, CURLOPT_URL, "https://demo.checkbook.io/v3/check/digital");

    struct curl_slist *headers = NULL;
    headers = curl_slist_append(headers, "accept: application/json");
    headers = curl_slist_append(headers, "content-type: application/json");
    headers = curl_slist_append(headers, "Authorization: XXXXX");
    curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

    curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\"recipient\":\"testing@checkbook.io\",\"name\":\"Widgets Inc.\",\"amount\":5,\"description\":\"Test Payment\"}");

    CURLcode ret = curl_easy_perform(hnd);

     

    Thank you,

    Randall H. Carpenter


  2. We have two licenses for Delphi 10.4.

     

    We have apparently registered one of the Serial numbers too many times.  If I load the IDE, the message appears that I have too many copies running. 

     

    My questions is this.  On the Help menu of the IDE, there is a License Manager selection.  When I open this License Manager, it displays the Serial # used for this running copy of Delphi.  In the right hand pane of this window are selectable License Actions, the first of which is Register.  It indicates by selecting this option, the Registration Wizard  will launch.  If I launch the Registration Wizard and enter the Serial # which has not been used, will it simply re-register my running copy with the (new) Serial #?  Will it register the running copy without affecting any of my already installed third party packages?

     

    Thanks in advance for your input. 

     

    Thanks,

    Randall Carpenter

     

     


  3. I installed (or rather I re-installed after uninstalling) Delphi 10.4.1.  Installation appeared to run smoothly.

     

    Once Delphi was installed, inside the IDE I used GetIt to install the Konopka VCL Controls.  In the GetIt Package Manager List, this component package is listed as Bonus KSVC 6.2.3. 

     

    When I click on the Install button the installation window appears and starts the process.  But it swiftly ends and I get a message in the installation window as follows:

     

    Loading EULAS

       Cannot load data from the server. "RADStudio.json" metadata file does not exist. 

       Setup cannot continue due to a corrupted installation file.

    A problem occurred during the process.

     

     

    Can anyone please help me determine how to fix this problem?  Where is the RADStudio.json file supposed to be.  I've searched my hard drive and cannot locate it. 

     

    Your help will be appreciated.  The Konopka VCL Controls are used extensively in my project.

     

    Thanks,

    Randall Carpenter

     

     

     

    • Like 1

  4. I truly hope someone can help me with a mess I have.

     

    I have Delphi 10.2.3 installed on the same machine on which I also later installed Delphi 10.4.1.  In other words,  I have Delphi 10.2.3 and Delphi 10.4.1 installed on the same machine. 

     

    I moved some files around and suddenly D10.4.1 would not compile.  I was getting an error indicating TQuickReport.DataSet was not found.  This is a QuickReport component.  Unfortunately QuickReport is no longer supported.  So I have no one at the publisher to ask for help. 

     

    So first thing I did was manually uninstall then reinstall QuickReport.  But I still got the same error.

     

    So in desperation I decided to completely uninstall 10.4.1.  I started uninstalling components first.   I used GetIt to uninstall those packages originally installed with it.  But after uninstalling CodeSite Express, my CodeSite Express is no longer working in Delphi 10.2.3 either.  So I tried to uninstall CodeSite Express from D10.2.3.  It would not uninstall using GetIt.  During uninstallation of CodeSite (using GetIt) I get a message 'A problem occurred during the process".  It will not uninstalll from 10.2.3 but when I try to load D10.2.3 I get the message "Can't load package .....\CodeSiteExpressPkgDesign250.bpl.

     

    Can someone please help me get CodeSiteExpress back into D10.2.3

     

    I will very much appreciate your help.

     

    Thank you,

    Randall H. Carpenter


  5. Installed Delphi 10.4.1 as an upgrade to 10.2.

     

    Cannot find Intraweb.  Is Intraweb no longer included in Delphi?

     

    I went to the AtoZed site.  It was a little confusing.  Apparently Intraweb 15 is not free but will work in 10.4.1.  Intraweb 14 is free but I found no information indicating it would run in Delphi 10.4.1.

     

    Can anyone provide some insight about what the situation is with Intraweb and Delphi 10.4.1?  I will appreciate it.

     

    Randall Carpenter

     

     


  6. I recently installed Delphi 10.4.1.  Once installed, I started installing my third party component packages.

     

    After installing a couple of third party component packages, I discovered in the component toolbar every component was displaying a generic icon.  After doing some googling, one guy suggested I use the -nocache option on the command line when loading the IDE.  That worked.  The components now display their appropriate icon.

     

    I did some more googling to determine exactly what -nocache did when loading the IDE.  But I have been unsuccessful. 

     

    Can anyone tell me what the -nocache command line switch on the IDE command line does?

     

    Thanks,

    Randall Carpenter


  7. I just installed Delphi 10.4.1.  Trying now to install patches and third party components from GetIt.

     

    In the IDE, under IDE Patches on the Welcome Page, there is a message "The Embarcadero GetIt server could not be reached."  And if I try to install the Bonus KSVC 6.2.3 component package from GetIt, I get "Cannot load data from the server:....."  

     

    Does anyone know when it will be available?  Has Embarcadero released any information about this issue.  It is keeping me, and I am sure others, from getting on with our work.

     

    Thanks,

    Randall Carpenter

     

×