Adobe Animate, C extensibility, sample code not working
Hey everyone,
Sorry to bother.
Recently I'm trying to call functions from cutomised .dll.
The instruction I follow is this one:
Here's what I do:
1) I use VS 2022, create a new project, choose Dynamic-link library
2) creating a Header file named mm_jsapi.h, and copying the sample code into this header file.
3) creating a cpp file named test.cpp, and copying the sample code under section 'Sample DLL implementation'.
4) build solution, and I get the test.dll file
5) test.dll is then renamed to Sample.dll, and moved to ..\Animate 2023\en_US\Configuration\External Libraries
6) creating Sample.jsfl, copying the jsfl code into it, then moving Sample.jsfl to ..\Configuration\Commands
7) restart Adobe Animate, and run the command
it jumps out an error message, says

I'm so confused now and I don't know what to do.
If anyone ever succeeded in calling .dll function, could you please share some ideas?
Much appreciated.
