Search found 8 matches

by devotip
Wed 7. Mar 2018, 07:27
Forum: PCAN-ISO TP
Topic: CPcanIsoTpExampleMFCthrowing exceptions
Replies: 11
Views: 12507

Re: CPcanIsoTpExampleMFCthrowing exceptions

Yes, the test version has this issue solved.
by devotip
Sat 3. Mar 2018, 08:25
Forum: PCAN-ISO TP
Topic: CPcanIsoTpExampleMFCthrowing exceptions
Replies: 11
Views: 12507

Re: CPcanIsoTpExampleMFCthrowing exceptions

Attached a minimal vs2008 MFC testcase, can be imported in newer visual studio versions
Start it, click cancel. nothing is invoked but crash when closing
Start it, click ok. CANTP_Uninitialize is invoked but crash when closing

start it, click libinfo. some methods are invoked and behaving as ...
by devotip
Thu 22. Feb 2018, 18:25
Forum: PCAN-ISO TP
Topic: CPcanIsoTpExampleMFCthrowing exceptions
Replies: 11
Views: 12507

Re: CPcanIsoTpExampleMFCthrowing exceptions

Retrieved a vs2008 and setup a minimal dialog application, same issue when closing even without invoking anything

Another sample application PCTPClient is not exposing the effect but is a console only and may have a implied different shutdown sequence

As a side note the lib files included in the ...
by devotip
Thu 22. Feb 2018, 13:01
Forum: PCAN-ISO TP
Topic: CPcanIsoTpExampleMFCthrowing exceptions
Replies: 11
Views: 12507

Re: CPcanIsoTpExampleMFCthrowing exceptions

Done, behavior unchanged
by devotip
Thu 22. Feb 2018, 12:17
Forum: PCAN-ISO TP
Topic: CPcanIsoTpExampleMFCthrowing exceptions
Replies: 11
Views: 12507

Re: CPcanIsoTpExampleMFCthrowing exceptions

PC is a win7 x64, the demo is x86 and the libraries in use (debug folder) are the ones defined in the attachment
by devotip
Wed 21. Feb 2018, 16:45
Forum: PCAN-ISO TP
Topic: CPcanIsoTpExampleMFCthrowing exceptions
Replies: 11
Views: 12507

Re: CPcanIsoTpExampleMFCthrowing exceptions

by the way there are a couple of C# leftover to clear out

str.Format(L"{0} {1} ({2:X2}h)", devDevice, byChannel, p_handle);
str.Format(L"An error occurred. Error-code's text ({0:X}) couldn't be retrieved", p_error);
by devotip
Wed 21. Feb 2018, 12:35
Forum: PCAN-ISO TP
Topic: CPcanIsoTpExampleMFCthrowing exceptions
Replies: 11
Views: 12507

CPcanIsoTpExampleMFCthrowing exceptions

The untouched fresh built demo is throwing exceptions when opening and closing. Any hint?

at startup
Exception thrown at 0x774843A9 (oleaut32.dll) in PcanIsoTpExampleMFC.exe: 0xC0000005: Access violation reading location 0x0000000C
callstack points to oleaut32.dll called by PCANBasic called by PCAN ...
by devotip
Tue 31. Oct 2017, 09:30
Forum: Linux
Topic: PCAN USB FD and ISO-TP error after some transmissions
Replies: 1
Views: 3250

PCAN USB FD and ISO-TP error after some transmissions

I'm having an unexpected error after few successful transmissions.

With the following test context
adapter is not connected to anything
ubuntu 16.04 with latest updates
installed can-utils
installed iso-tp module from https://github.com/hartkopp/can-isotp

can interface init as follow
sudo ip link ...