RAD Studio 10.4.1 is now available! Learn more. Looking for discounts? Visit our Special Offers page!
C++

Display JSON Base64 images created in C++Builder using Ext JS in browser

Author: h.mohri

Output to JSON Base64 Image Data Reading Browser.
I use Ext JS. And the JSON server is C++Builder bcc32.

 

Create a standalone new project for WebBroker.

 

 

Add action on TWebModule side.

PathInfo is set to "/img".

 

It is a code to output JSON corresponding to CORS.

Code that can be compiled with bcc32. For CORS please refer to the following URL.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

The output JSON is as follows.

Ext JS design.

Create image and button screens using Sencha Architect.

Add Store.

Create a button event for Ext JS.


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Learn More About Upgrading

Related posts
News

Using C++17 Algorithms Library Parallel Sorting with C++Builder 10.4 Sydney for Win32 and Win64

C++DelphiIDETech Partner

Flexible Rapid Kitto2 Solution for Delphi on The Web

C++News

C++Builder and Platforms Support

C++

What's New in the GetIt Package Manager - June 2020

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES