Page 1 of 1

Entry Point Not Found Exception thorown

Posted: Fri Jun 21, 2019 3:54 pm
by Fledge2b
Hello ,
I switched from win 7 to win 10 and updated to Kmotion 4.34
I developed a software with visual studio net I have a problem with DLL.

execution

device._Controller.ExecuteProgram (1, (Application.StartupPath & "\program.c "), False)
answer msg:

Entry Point Not Found Exception thorown : Caller -[KMotion_dotNet.KM_Interpreter]:: Member - [Get_InterpretThreadID]
Before the upgrade it all worked out I can't find a solution


Thank you

Re: Entry Point Not Found Exception thorown

Posted: Fri Jun 21, 2019 6:02 pm
by TomKerekes
Hi Fledge2b,

I think "\program.c " should be "\\program.c "

This causes a compiler error message which now uses functions in the new Version's dlls.

Somehow a Library DLL is referencing an old Version's Library DLL. Check your Windows PATH or Output Folders to make sure they all point to or contain the new dll's. Specifically KMotion_dotNet.dll, KMotion_dotNet_Interop.dll, GCodeInterpreter.dll, and KMotionDLL.dll

HTH

Re: Entry Point Not Found Exception thorown

Posted: Fri Jun 21, 2019 9:57 pm
by Fledge2b
Thanks solved I hadn't updated KMotionServer.exe

Thanks also for a great product