I've compiled the OBM ManagedSDKExample successfully. When I try to load the dll I get the following error message:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************System.IO.FileLoadException: A procedure imported by 'Bentley.ObmNET.GeometryModel.NetSDK.dll' could not be loaded.File name: 'Bentley.ObmNET.GeometryModel.NetSDK.dll' at ManagedSDKExample.ManagedSDKExample.Run(String[] commandLine) at Bentley.MstnPlatformNET.AddIn.Load(String[] commandTail, IntPtr mdlDesc)
Any idea where to start to find the issue?
Found topic on same issue from 2019 on Chinese forum with no resolution. https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/174763/obm-sdk-dll
Heard from Bentley support. The "Bentley.ObmNET.GeometryModel.NetSDK.dll" & "Bentley.ObmNET.GeometryModel.SDK.dll" files delivered in the "redist" folder of the OBM 10.08 SDK (which all the example code uses) is not compatible with OBM 10.09. I was told it will be fixed in the 10.10 OBM SDK.
Answer Verified By: Mike Robertson