Author Topic: Has anyone used LPT component on 64 bit PC?  (Read 3793 times)

denley

  • Newbie
  • *
  • Posts: 6
    • View Profile
Has anyone used LPT component on 64 bit PC?
« on: May 27, 2010, 03:23:44 pm »
I have been using the LPT component (v 8.30) successfully in several programs on my PC with 32 bit Windows XP.  After I upgraded the same PC to Windows 7 X64 I can no longer open the LPT port.  I get a "Create service failed" error message with my programs and also the nrComm Lpt Demo.  I wonder if the problem is with the new driver Windows installed for the LPT port or is the component incompatible with 64 bit operating system?
« Last Edit: May 27, 2010, 03:26:28 pm by denley »

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Has anyone used LPT component on 64 bit PC?
« Reply #1 on: May 27, 2010, 04:11:22 pm »
Hello

Thank you for information.

Current version of nrComm Lib contents 32bit driver only. The x64 platform needs a new 64-bit driver.
We will create and add 64-bit driver into next version of nrComm Lib.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

denley

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Has anyone used LPT component on 64 bit PC?
« Reply #2 on: July 13, 2010, 01:21:26 am »
I see that you have released a version with a test signed driver for 64 bit Windows 7.  That is very good news!  Is a regular digitally signed driver in the near future?  I understand that digitally signed drivers are expensive and out of reach for many small developers.

Denley

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Has anyone used LPT component on 64 bit PC?
« Reply #3 on: July 13, 2010, 05:18:14 am »
Hello

Yes current version has test signed driver version.

We are going to purchase a legal certificate for code signing during next 30 days.
We investigate this issue now.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

denley

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Has anyone used LPT component on 64 bit PC?
« Reply #4 on: September 04, 2010, 12:41:30 am »
Versions after 9.08 are supposed to have signed drivers but I am unable to get the LPT component to work on my Windows 7 64bit PC unless I put Windows in test mode (bcdedit.exe -set TESTSIGNING ON).  I am using nrComm  version 9.10.  With test signing turned  on in Windows my application with the LPT control works fine.   With test signing off, whenever I enable the port I get the message  “LPT1 open is failed.  The system cannot find the file specified”.     What am I doing wrong?

Denley

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Has anyone used LPT component on 64 bit PC?
« Reply #5 on: September 04, 2010, 04:03:14 am »
Hello

Thank you for your information.

Please find and delete all files and subfolders in your system TEMP directory.
Let me know results.
If it will not help - we will think more.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

denley

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Has anyone used LPT component on 64 bit PC?
« Reply #6 on: September 04, 2010, 03:36:42 pm »
I emptied all the temp folders I could find and that did not make a difference.  I see that when I run my application that nrio.sys and nrx64stub.exe appear in the C:\Users\<UserName>\AppData\Local\Temp folder.   If I check properties of nrio.sys, Windows reports that "This digital signature is OK." 

Denley

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Has anyone used LPT component on 64 bit PC?
« Reply #7 on: September 04, 2010, 06:19:03 pm »
Hello

Please run regedit.exe and try to find and kill following key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\nrio

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

denley

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Has anyone used LPT component on 64 bit PC?
« Reply #8 on: September 05, 2010, 01:20:56 pm »
I deleted the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\nrio entry in the registry and ran my app again.  I get the same "LPT1 open is failed" error from my program and Windows also pops up a Program Compatibility Assistant message saying that "Windows requires a digitally signed driver. A recently installed program tried to install an unsigned driver." 

Denley

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Has anyone used LPT component on 64 bit PC?
« Reply #9 on: September 06, 2010, 08:13:35 am »
Hello

Thank you for your information.

Bad news :-(
Our CA provider provides code sign certificate that can not be used for kernel signing.

We will try to find another provider and get a new certificate as soon as possible.

I'm sorry :-(

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Has anyone used LPT component on 64 bit PC?
« Reply #10 on: April 24, 2011, 12:40:59 pm »
Hello

nrComm Lib has signed kernel drivers now.

Since nrComm Liv v9.14 TnrLpt should work correctly on all platforms (included x64)

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.