Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Is there any type of wait/delay function to Pro Toolkit, or C for that matter?
I am having a situation (and I have in the past) where the dll processing seems to get ahead of the file writing creation routines. And the dll processing can seemingly get ahead of video card regeneration. I admit this is rare, but writing a lot to a loop, the program processing is moving forward. We are talking nanoseconds here but when you are looping and retrieving and exporting, I have had the odd situation where just sometimes exports have been created when drawing dimension have not snapped to snap lines if a parts size was modified and driven by top-down design.
The old Visual Basic had do-events, and VB.net still has Application.DoEvents. for just this reason. IME sometimes with DLL's you just needed this to let different code strings catch up.
Solved! Go to Solution.
No, there is no such a function and there is no need for it. You can use standard C functionality - see for example this: c++ - Sleep for milliseconds - Stack Overflow
No, there is no such a function and there is no need for it. You can use standard C functionality - see for example this: c++ - Sleep for milliseconds - Stack Overflow
Thanks Tomas, looks like just what I needed. Its worth a try for me to see if this helps my situation.