ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#201
|
|||
|
|||
Hi Stephan,
Are you sure that the exit trigger is toggled as DLL node? If the node is triggered as Flexscript then you will get the error message in the compiler window. Make sure that the exit trigger is toggled as DLL. Lars-Olof |
The Following User Says Thank You to Lars-Olof Leven For This Useful Post: | ||
Stephan Seidel (08-10-2009) |
#202
|
||||
|
||||
Thanks Tom and Lars-Olof for your comments.
I've found the cause why the DLL wasn't working. The triggers code field was set to DLL and the DLL template code was correctly inserted. But then I've used the button left of the code button (no idea what the buttons name is but it shows an icon with a paper and lines on it and is between erase button and code button, maybe template button?) to edit the DLL's name and function's name. Then I clicked OK and the error persisted. When I checked the code of the trigger again its type was reset to Flexscript instead of DLL. So i played with it a bit and found that the code fields type is reset when the template window (i call it that way) is opened in ordner to change the DLL's name and function. In case the code field is used to change the DLL's name and function without opening the template window everything works perfectly well. In addition the code type's locked checkbox does not make eny difference if checked or not. Maybe somebody else can confirm that behavior as I would assume the template window should be used to change the DLL's name instead of the code field after its type has been set to DLL. I'm not sure if this behaviour is intented or if this is a bug. Anyway, my DLL is now working as long as I do not touch the template window. Cheers, Stephan
__________________
--- You can't have it both ways. |
Thread | Thread Starter | Forum | Replies | Last Post |
Can coordinated task sequence and "break to requirement" be used together? | qin tian | Q&A | 1 | 05-26-2008 10:44 AM |
error message "Clock overflow, running stopped" | Martin Kooijman | Q&A | 11 | 04-17-2008 10:29 AM |
about "no select" and "show parameter window from side bar" | qin tian | Gripes and Goodies | 3 | 03-21-2008 08:10 AM |
Which variable stores "Properties -> General ->Flags -> Protected" information? | KelvinHo | Q&A | 1 | 03-06-2008 06:18 AM |
"Getting Started" and "Tutorial" models for v4.01 | Cliff King | Product Announcements | 0 | 12-10-2007 07:34 PM |