Hi everybody, I have a problem using "KMotion_dotnet_Interop.dll" of KMotion5.4.0 in Visual C# 2022.
It seems impossibile to reference all dll in Visual projects...the unique dll that can be referenced in my case is "KMotion_dotNet.dll" but this also don't work and the program display continuously the following error: "Unable to find any entry point with name ''KMotion_dotnet_Interop_MainStatus_GetStatus in DLL "KMotion_dotnet_Interop.dll"".
Visual 2022 compile this program regularly, so it seems a DLL problem, i don't know.
Thank you!
Unable to find "KM_dotnet_Interop_MainStatus_GetStatus" in "KMotion_dotnet_Interop.dll" Visual C# 2022
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2791
- Joined: Mon Dec 04, 2017 1:49 am
Re: Unable to find "KM_dotnet_Interop_MainStatus_GetStatus" in "KMotion_dotnet_Interop.dll" Visual C# 2022
Hi,
Are you calling that function from your code?
That function is normally used internally and the method was changed in Version 5.0.7 to support Kogna and now passes a single binary block of status rather than all the status fields individually?
What Version was it working before?
The PureC example shows the new method of calling it.
Are you calling that function from your code?
That function is normally used internally and the method was changed in Version 5.0.7 to support Kogna and now passes a single binary block of status rather than all the status fields individually?
What Version was it working before?
The PureC example shows the new method of calling it.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Unable to find "KM_dotnet_Interop_MainStatus_GetStatus" in "KMotion_dotnet_Interop.dll" Visual C# 2022
Hi Tom,
No, i'm not calling that function from my code.
The previous version was working is the 435h.
Is it possibile to downgrade KFlop firmware from 5.4.0 to 435h (KFlop Rev 1.3)?
Thanks.
Tiziano F.
No, i'm not calling that function from my code.
The previous version was working is the 435h.
Is it possibile to downgrade KFlop firmware from 5.4.0 to 435h (KFlop Rev 1.3)?
Thanks.
Tiziano F.
- TomKerekes
- Posts: 2791
- Joined: Mon Dec 04, 2017 1:49 am
Re: Unable to find "KM_dotnet_Interop_MainStatus_GetStatus" in "KMotion_dotnet_Interop.dll" Visual C# 2022
Hi Tiziano,
You would have to tell us exactly what you are doing. The SimpleFormsCS C# example uses that function and works correctly. Does \KMotion\Release\SimpleFormsCS.exe run correctly?
To flash an earlier version of Firmware use Flash New Version or Flash Recovery.
You would have to tell us exactly what you are doing. The SimpleFormsCS C# example uses that function and works correctly. Does \KMotion\Release\SimpleFormsCS.exe run correctly?
To flash an earlier version of Firmware use Flash New Version or Flash Recovery.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.