Windows 64bit SerialComPortMapper

11 views
Skip to first unread message

Andreas

unread,
Feb 12, 2018, 5:00:53 AM2/12/18
to SerialPundit
Hey,
if I try to use the SerialComPortMapper, I get an error on line 334 of SerialComPortJNIBridge.java:

input = SerialComPortJNIBridge.class.getResourceAsStream("/" + libToExtractFromJar);

the variable "input" is always "null", but the file "spcomwinx64.dll" exists.
What I am doing wrong?
Thanks for your help

SerialPundit

unread,
Feb 19, 2018, 2:44:05 AM2/19/18
to SerialPundit
- Why are you using mapper for windows, it requires corresponding system service and driver which are not implemented.
- Are you using latest jar file from github prebuilt releases.

Andreas

unread,
Feb 20, 2018, 1:54:52 AM2/20/18
to SerialPundit
I thought this were a solution to map a com port in windows. Because I have a device with USB connected to a PC and want to run some old tests on it. But the tests only communicate with com1. Therefore I have to map the intialised port to com1.
I use this API to upload result from the device to the PC and I want to add some more features like to run the tests.
I used the last modules releases and just try to run Test86.
If I use the prebuild releases, I get the same problem just in the class SerialComPortMapperJNIBridge.loadNativeLibrary(String, String, SerialComSystemProperty, int, int, int) line: 213 the input file is always null.

Andreas

unread,
Feb 20, 2018, 2:05:23 AM2/20/18
to SerialPundit
Just realised that now the "spmapwinx64.dll" is missing and it also missing in the prebuilt modules.

Andreas Kuhtz

unread,
Feb 20, 2018, 2:33:12 AM2/20/18
to Andreas, SerialPundit
Cheers,
Andreas

--
You received this message because you are subscribed to the Google Groups "SerialPundit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to SerialPundit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/SerialPundit/7d962f99-fbb8-42ff-8f02-c19fa1334464%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andreas

unread,
Feb 20, 2018, 3:47:09 AM2/20/18
to SerialPundit
Hi, 
Thank you both for your attention to this matter.
With com0com i only can create 2 VCP and connect them. I can't use an existing VCP with com0com, it show me an error that the port is in use. I need to create a VCP COM1 for DOS test application and map it or connect it to an existing VCP(USB device) e.g. COM7.

Am Dienstag, 20. Februar 2018 08:33:12 UTC+1 schrieb Andreas Kuhtz:
Cheers,
Andreas
2018-02-20 7:54 GMT+01:00 'Andreas' via SerialPundit <Serial...@googlegroups.com>:
I thought this were a solution to map a com port in windows. Because I have a device with USB connected to a PC and want to run some old tests on it. But the tests only communicate with com1. Therefore I have to map the intialised port to com1.
I use this API to upload result from the device to the PC and I want to add some more features like to run the tests.
I used the last modules releases and just try to run Test86.
If I use the prebuild releases, I get the same problem just in the class SerialComPortMapperJNIBridge.loadNativeLibrary(String, String, SerialComSystemProperty, int, int, int) line: 213 the input file is always null.

Am Montag, 19. Februar 2018 08:44:05 UTC+1 schrieb SerialPundit:
- Why are you using mapper for windows, it requires corresponding system service and driver which are not implemented.
- Are you using latest jar file from github prebuilt releases.

On Monday, February 12, 2018 at 3:30:53 PM UTC+5:30, Andreas wrote:
Hey,
if I try to use the SerialComPortMapper, I get an error on line 334 of SerialComPortJNIBridge.java:

input = SerialComPortJNIBridge.class.getResourceAsStream("/" + libToExtractFromJar);

the variable "input" is always "null", but the file "spcomwinx64.dll" exists.
What I am doing wrong?
Thanks for your help

--
You received this message because you are subscribed to the Google Groups "SerialPundit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to SerialPundit...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages