RF-COM 5 compatibility issues when calling using C# .Net9

I need to read and write to RFEM models made in RFEM5 (v5.26, v5.31, v.5.36), using C# in .NET9.

Some commands work fine, like reading materials or member hignes

List<RFEM.Material> list_rMat = this.ModelData.GetMaterials().ToList();
List<RFEM.MemberHinge> list_formRFEM = this.ModelData.GetMemberHinges().ToList();

even reading ILoadCombinations works ok. But when calling .GetData() for loadcombinations:

Dlubal.RFEM5.LoadCombination loadCombination = rLoads.GetLoadCombination(1, ItemAt.AtNo).GetData();

it runs into corrupt memory or access violation erros.

When I run the same code with legacy .netframework 4.8, it runs without problems.

Can you provide an updated dll on NuGet for RFEM5 that works with .Net9 or .Net10?

Hi PSA001,

unfortunately we cannot provide a new dll to get RF-COM working with .Net9. I guess you have to stay with the .NetFramework. RF-COM will no longer be developed further.

Best regards
Robert Milrath