question

yexioamu avatar image
0 Likes"
yexioamu asked Julie Weller commented

Error LNK2019 when using dll maker

When i implement some function which build in dll release mode, occur a error liked this :

  1. error LNK2019: Unresolved external symbol "__declspec(dllimport) public: __cdecl FlexSim::Map::~Map(void)" (__imp_??1Map@FlexSim@@QEAA@XZ)

what should i do fo it?

FlexSim 21.2.4
dll makerdll error
· 8
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered Kavika F commented

The DLL Maker can only access a limited set of types and functions. The Variant class and Map class are not accessible from the DLL Maker.

If you use the Module SDK, you can access both those classes, as well as many others.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.