Have an amazing solution built in RAD Studio? Let us know. 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   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Get some love as Delphi turns 26
Related posts
DelphiNews

Learn Powerful Full Stack Web Development With uniGUI For Delphi

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

News

C++Builder and Platforms Support

Leave a Reply

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

IN THE ARTICLES