Hello,
How to access class in other modules such as AGV, ProcessFlow.
For example:
// in dll of module sdk AGV agv = new AGV(taskexecuter); Token token = createtoken();
Hello,
How to access class in other modules such as AGV, ProcessFlow.
For example:
// in dll of module sdk AGV agv = new AGV(taskexecuter); Token token = createtoken();
In the case of Process Flow, we do share a bunch of header files. They are in your FlexSim install directory, at /modules/ProcessFlow/include. If you include those (and probably link against ProcessFlow.dll), you can access the Token class directly. Like the module SDK, be sure to use the files from the version of FlexSim you are targeting.
For AGV, I don't think we share those header files, so I don't think you can access AGV methods directly in another module's dll.
The module SDK provides access to the widest range of types and functions available to 3rd-party developers, but it doesn't provide access to most of the other modules.
There are many cases where you need to keep some secret in a module, compiled into the dll. In these cases, you can use the following approach:
This kind of approach works well. An attacker can tell that you are getting information out of the model, and that somehow, you use that information to make decisions, or to drive model behavior. But the dll is a black box; the attacker doesn't know the key part, which is how you made those decisions.
Good suggestions @Jordan Johnson, just wanted to add a small warning that only the fact that logic is in a DLL, does not mean it's absolutely secure. Your approach will deter most 'casual' attackers but a determined hacker with access to the DLL will always be able to decompile and reverse engineer it to some extent.
16 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved