Develop dll plugin (error alert appears when program starts)

Dear AmiBroker's support,

Our team is developing data plugin using C++ based on AmiBroker Development Kit (ADK). Our project is to connect market data provided by Settrade (official provider in Thailand) to Amibroker. Our APIs are REST-API and MQTT-Websocket for historical data and realtime data. Howover, our plugin works fine but the alert always appears once the program starts. the alert are attached files.

Could you please help us find the way to eliminate this alert? Do we have to have license for our plugin or is there something wrong with our plugin?
Best Regards,

Error1

AmiBroker version 6.30.5.6305
( 64-bit, cooltool.dll 6.30.2,  mfc42.dll 6.30.5,  msvcrt.dll 7.0.18362 )
Microsoft Windows 10 version 10.0 (Build 18362) 
Service Pack 0.0, Common Controls: 6.16
Unhandled exception
Type:	CSysException
Code:	c0000005
Description:	ACCESS VIOLATION
Address:	000000006DEA1160
Call Stack:
000000006DEA1160 (module-name not available), (function-name not available)() +0 byte(s)
00007FF8A5F2AE32 msvcrt, beginthread() +290 byte(s)
00007FF8A5F2AF0C msvcrt, endthread() +188 byte(s)
00007FF8A4B37BD4 KERNEL32, BaseThreadInitThunk() +20 byte(s)
00007FF8A6A0CE51 ntdll, RtlUserThreadStart() +33 byte(s)
Additional information:
Multi-threaded charts - ENABLED
Empty stock database.
Workspace:
Data source = (local), Data local mode = 1, NumBars = 1000
Preferences:
Data source = (local), Data local mode = 1, NumBars = 1000
Command history:
Cache manager stats:
Number of list elements: 0
Number of map elements: 0
Hash table size: 16001
Memory status:
  MemoryLoad: 47 %
  TotalPhys:     16554720K  AvailPhys:      8717068K
  TotalPageFile: 21535456K  AvailPageFile: 10453672K
  TotalVirtual:  4294967168K  AvailVirtual:  4290556004K
Log:
Logging started 2020-08-28 16:41:08
     1.53 ms : Enabling low frag heap (0.07 ms)
     1.60 ms : Launching splash screen (0.97 ms)
     2.57 ms : Waiting for splash screen (8.73 ms)
    11.31 ms : Alloc other stuff (0.64 ms)
    11.94 ms : Loading amisci.dll (6.73 ms)
    18.67 ms : Setting up SEH translator (91.21 ms)
   109.89 ms : Initializing OLE (0.03 ms)
   109.92 ms : Initializing RichEdit (1.01 ms)
   110.93 ms : Checking current working directory (0.65 ms)
   111.57 ms : Loading persistent variables (0.07 ms)
   111.64 ms : Loading MRU lists (2.66 ms)
   114.30 ms : Loading commisison table (0.04 ms)
   114.34 ms : Loading preferences (0.79 ms)
   115.13 ms : Initializing display settings (0.52 ms)
   115.65 ms : Loading old groups and markets (0.19 ms)
   115.85 ms : Loading GICS and ICB (1.24 ms)
   117.09 ms : Loading plugins (0.12 ms)
   117.20 ms :  Loading 'C:\Program Files\AmiBroker\Plugins\CMAE.dll'  (0.92 ms)
   118.13 ms :  Loading 'C:\Program Files\AmiBroker\Plugins\DDE.dll'  (4.99 ms)
   123.12 ms :  Loading 'C:\Program Files\AmiBroker\Plugins\eSignal.dll'  (18.03 ms)
   141.15 ms :  Loading 'C:\Program Files\AmiBroker\Plugins\IB.dll'  (1.89 ms)
   143.04 ms :  Loading 'C:\Program Files\AmiBroker\Plugins\IQFeed.dll'  (1.15 ms)
   144.19 ms :  Loading 'C:\Program Files\AmiBroker\Plugins\MS.dll'  (0.75 ms)
   144.94 ms :  Loading 'C:\Program Files\AmiBroker\Plugins\ODBC.dll'  (1.66 ms)
   146.60 ms :  Loading 'C:\Program Files\AmiBroker\Plugins\ODBCA.dll'  (1.77 ms)
   148.37 ms :  Loading 'C:\Program Files\AmiBroker\Plugins\PSOSample.dll'  (0.82 ms)
   149.20 ms :  Loading 'C:\Program Files\AmiBroker\Plugins\SETTradeMarketDataAPI.dll'  (2.68 ms)
   151.88 ms :  Loading 'C:\Program Files\AmiBroker\Plugins\Tribes.dll'  (1.20 ms)
   153.08 ms :  Checking for any new non-certified plugins (0.11 ms)
   153.19 ms :  Done. (0.02 ms)
   153.21 ms : Loading AT interfaces (0.07 ms)
   153.29 ms : Loading AFL function table (1.33 ms)
   154.62 ms : Init chart infos (0.73 ms)
   155.35 ms : Loading parameters (1.50 ms)
   156.85 ms : Loading chart infos (0.28 ms)
   157.14 ms : Loading custom tools (1.23 ms)
   158.36 ms : Allocating lists (0.10 ms)
   158.47 ms : Loading layers and alerts

It is YOUR DLL crashing.

Build it with DEBUG information and then you will see more information. The place when it crashes suggest that your plugin is not multi-threading safe.

Plugin development is for advanced C++ programmers with 10+ years experience only.

You don't need plugins. Not for REST API. Rest APIs can be used directly from AFL
(see Internet* functions).