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

Where is the BMModifyHandleState function?

Anonymous
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
Ralph Wessel
Mentor
Handle locking has been redundant for some time now – you can ignore it.
Ralph Wessel BArch
Software Engineer Speckle Systems

View solution in original post

1 REPLY 1
Solution
Ralph Wessel
Mentor
Handle locking has been redundant for some time now – you can ignore it.
Ralph Wessel BArch
Software Engineer Speckle Systems