question

Jason Z avatar image
1 Like"
Jason Z asked Phil BoBo edited

Can Flexsim call a third party dll?

I used to call a dll (named A.dll) which was written by myself in Flexsim, and the A.dll was invoked successfully. However, if I added extra some code in A.dll, which command the A.dll to call B.dll that was written by another programmer (B.dll was not written in the grammar that flexsim specified) , A.dll can not be invoked successfully.

Can Flexsim call a third party dll? Or, in another way, should the B.dll also be written in the grammar that flexsim specified?

dll
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

Phil BoBo avatar image
1 Like"
Phil BoBo answered Phil BoBo edited

Yes, you can call a third party dll from a dll built with the FlexSim DLL Maker. That will work just fine.

If you are having trouble with doing that, then you'll need to post more information so that we can duplicate the issue you are having to explain why it is happening. In general, that procedure works fine.

· 7
5 |100000

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