In our model, we would like to communicatie with an external model where certain decisions are optimised. We call a DLL from Flexsim, this DLL calls then calls the external model and takes care of the rest.
Initial tests using the DLL were working well, except that we want to use Goolgle protobuffers to communicate from the DLL to the model, which includes some extra headers and a .cc file into the dll project. After including them, Flexsim cannot find the DLL anymore, everything else remaining the same. (exception: Dll Error : could not connect to exported dll function for /Tools/UserCommands/CallDll/code. Windows Error Code: 126)
When removing the additional files, Flexsim can find the DLL again. Currently we are not passing any parameters to the DLL function. What could be the cause for this to happen? Any help would be appreciated!