You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having to assume the units is unsafe. A suggestion is to rename the function parameters to e.g. timeout_microseconds, timeout_milliseconds etc and add suffixes to the default parameters.
The text was updated successfully, but these errors were encountered:
Hello Ulrik,
is it possible to update the project for newer release of Visual Studio?
I tried to compile with VS2021 with many errors, broke down the project for just the PCAN adapter and only 64bit builds, resolved all errors and warnings - my last problem is a problem by linking the can_dispatcher_x64.lib in canopenlib64.dll:
LNK2019 Verweis auf nicht aufgelöstes externes Symbol ""unsigned long __cdecl canopenDispatcher(void *)" (?canopenDispatcher@@YAKPEAX@Z)" in Funktion ""private: static unsigned long __cdecl CanInterface::canFrameDispatcherThread(void *)" (?canFrameDispatcherThread@CanInterface@@CAKPEAX@Z)".
Any hints are welcome.
It is unclear what units are used for the timeouts in e.g. the SDO client:
datalinkengineeringcanopen/canopen_stack_visual_studio_2008-2012/visual_studio/canopenlib32_dll/inc/ClientSDOClass.h
Lines 110 to 112 in f612417
The scaling of the default values give an indication it might be microseconds.
datalinkengineeringcanopen/canopen_stack_visual_studio_2008-2012/visual_studio/canopenlib32_dll/inc/ClientSDOClass.h
Lines 32 to 34 in f612417
Having to assume the units is unsafe. A suggestion is to rename the function parameters to e.g. timeout_microseconds, timeout_milliseconds etc and add suffixes to the default parameters.
The text was updated successfully, but these errors were encountered: