[fpc-pascal] USB Human Interface Devices

Johann Glaser Johann.Glaser at gmx.at
Sun Aug 18 12:13:31 CEST 2019


Hi!

Am Samstag, den 17.08.2019, 18:00 -0400 schrieb James Richters:
> I commented out all the try & except stuff and ran it.. I get this
> output:

Could you please "git push" the source code to Github so that the line
numbers match the output? At least in line 1330 of libusboop.pas there
is no Create. Please ensure that the version on Github is the very same
version where you executed the program and got the line numbers.

Thanks
  Hansi

> Running "i:\programming\pas-
> libusb_test_dll\src\examples\testopendevic_vidpid2.exe "
> start
> 1
> 2
> a05472131
> a10CEEB93
> b
> c
> FALSE  8086  10CE  A36D  EB93
> FALSE  8087  10CE  0AAA  EB93
> FALSE  0424  10CE  2734  EB93
> FALSE  1D50  10CE  6015  EB93
> FALSE  1B1C  10CE  0C15  EB93
> TRUE  10CE  10CE  EB93  EB93
> FALSE  05E3  10CE  0610  EB93
> FALSE  04E8  10CE  61F5  EB93
> FALSE  1B1C  10CE  0C10  EB93
> FALSE  0424  10CE  274C  EB93
> FALSE  047D  10CE  1020  EB93
> FALSE  1B1C  10CE  1B4F  EB93
> FALSE  1A40  10CE  0101  EB93
> FALSE  0C45  10CE  7403  EB93
> FALSE  10C4  10CE  EA60  EB93
> d
> e
> N
> P
> L
> H1
> I
> I2
> Q
> R
> K
> M
> O1
> An unhandled exception occurred at $000000010002D0BB:
> EAccessViolation: Access violation
>   $000000010002D0BB  CREATE,  line 1330 of libusboop.pas
>   $000000010002B3AB
>   $0000000100001942  main,  line 75 of ../../pas-
> libusb_test_dll/src/examples/testopendevic_vidpid2.pas
>   $0000000100001AF6  main,  line 96 of ../../pas-
> libusb_test_dll/src/examples/testopendevic_vidpid2.pas
>   $0000000100010040
>   $00000001000017F0
>   $00007FFB66D07E94
>   $00007FFB675FA251
>
>
>
>
> > > Could you please remove the try-except block in
> > > testopendevic_vidpid2.pas and compile with debug line info to get
> > > the full exception backtrace incl. line numbers?
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list