cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to keep COM dll in memory while ArchiCAD works?

My Add-On use COM dll. COM dll support authorization and also monitor some local folders for changes. And I need to keep dll in memory all time ArchiCAD works.
I load COM dll while first CommandHandler call occur. But ArchiCAD unload dll after each command execution.

Where I can place my COM dll smart point instance for keep it in memory all time? Or may be you can suggest another decision? Thanks
3 Replies 3
Anonymous
Not applicable
Or there can be someone will advise how to prevent an unloading of a Add-On after menu command execution?
equilibrium wrote:
Or there can be someone will advise how to prevent an unloading of a Add-On after menu command execution?
Take a look at ACAPI_KeepInMemory
This will prevent the add-on from unloading between commands.
Ralph Wessel BArch
Central Innovation
Anonymous
Not applicable
Thanks, Ralph!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!