cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Streamline your workflows and master BIM coordination! Program starts April 28!

Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Where is the BMModifyHandleState function?

Not applicable
Hey,

according to the docs, we have to lock the handle's memory before accessing it (I guess to avoid race conditions with the memory manager during memory relocation). To do this we have to call BMModifyHandleState and set the state to locked. However, this function doesn't exist in the SDK (versions 21 to 24). What is going on here? Are the docs outdated? Is our SDK incomplete? Is handle access now safe without locking?
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Handle locking has been redundant for some time now – you can ignore it.
Ralph Wessel BArch
Central Innovation

View solution in original post

1 REPLY 1
Solution
Handle locking has been redundant for some time now – you can ignore it.
Ralph Wessel BArch
Central Innovation