Support Board
Date/Time: Tue, 25 Feb 2025 07:35:23 +0000
Post From: How to get modeless dialog box working? Code Provided.
[2019-02-13 22:18:23] |
norvik_ - Posts: 106 |
Protecting needed only during you are writing some variable which can be used when SC calls dll function, because calling are independent events. The SRWLock is preferred, in most cases it is facter then other. Another question is which data is used each time when SC calls dll and how SC calculates study. But this is to ask for SC developers. So, it's only my suggestion about this protection, but in any case it can not make any wrong thing. Of course, global variables can be used in both, dll body and Dialog but I don't see any sense, because Dialog instance can access the SCStudyInterfaceRef, and all data can be local. You can declare anything you want inside dll function Date Time Of Last Edit: 2019-02-13 23:16:07
|