Dear,
Cappo wrote:It possible the your library try to connect to internet?
Our libraries don't have any access to internet, or LAN/Wifi. Though, we use the functions
hton/
htos for Big-Endian value conversions. These functions are in the
Winsock2 library from Windows.
Cappo wrote:We use a Proxy and we can surf on internet only by the browser. If I disable ethernet card the This is software works fine, if I enable ethernet card the software doesn't work.
This is definitely not a PEAK-System problem. Note that the tests I did were done in computers with internet connection (also through an Ethernet card). Your PC has a kind of special configuration that is slowing down the load of some Windows libraries.
As I remarked before, the only network related operations are bytes movements in some variables. This seems to be a problem in your PC configuration. It would mean that only loading the Winsock2 [/b]library takes 30 seconds on your PC! (Seems to be a "network timeout" for me).
Cappo wrote: how can I resolve this problem without disable the ethernet card?
Since the
htonl and
htons functions are pretty simple to implement, we could just avoid using those defined in
Winsock2. This will principally help the API to start normally on your system, but sooner or later you will have another application or API that cannot be easily changed. So, please check your configuration or try on another computer as I suggested.
We can provide you with a version of the PCAN-UDS.dll, that not loads the Winsock library, for testing purposes. Please let me know if you are willing to test the adjusted library.