Communicationg with the K8097 - .Net application

we are developing an IT/ .Net system based on one of your usb stepper motor cards
exactly the one shown in the link
vellemanprojects.eu/products … &id=386156

we are encountering continous problems with exeptions which are closing pc’s com ports - and that makes controlling the stepper motors impossible.
the app continues to work, but any control can’t be made, everything looks just fine but after the exception stepper just doesn’t move

the aplication which communicates with your stepper motor card is based on your .dll
The only messages that is returned by the exception is described as “internal library exception”.

Hope i’ll get a feedback from you soon
Any help would be great

[edit]
one more thing, the exception accures after a period of time of continous work (standby), sometimes it takes more time sometimes less

Please provide an example .NET project that reproduces the problem.

I don’t want it to be public, so if it’s possible can i sent it to you via email (what address)?
if not i could just upload zipped solution to a fileshare portal or somethink like that…

Perhaps you can cut out the relevant pieces of code?

Is your application multithreaded? Is it a windowed or a console application?

well yes it’s multithreaded - there are couple of modules, each module communicates with it’s card so each thread is using your dll
here’s the vs solution
onedrive.live.com/redir?resid=E … file%2czip

Let me know when u download it

I suspected multithreading was involved because “the exception accures after a period of time of continous work (standby), sometimes it takes more time sometimes less”. The functions in the DLL are not thread safe, you will need to implement a locking mechanism.