Author Topic: Create service failed  (Read 782 times)

Henny Barten

  • Newbie
  • *
  • Posts: 32
    • View Profile
Create service failed
« on: August 18, 2014, 08:07:07 pm »
Gentlemen,
I downloaded and installed nrComm Lib v9.38 for Delphi 7 and CBuilder5
My computer is brandnew and runs on a legal version of Windows 7 professional 64 bit
I bought and installed 2 DLock PCI Express Cards both 2xSerial+1xParallel
All 4 serial ports work fine.
But I need also to control both paralell ports from Delphi 7 and CBuilder5.
In my system I see
Com & LPT ports: "PCIe to Multi Mode Prallel Port (LPT1)" and "PCIe to Multi Mode Prallel Port (LPT2)"
The LPT properties show;
lpt1-sources: I/O C010-C017 & C000-C007
lpt2-sources: I/O B010-B017 & B000-B007

So everything looks fine.

However, when I run LPT demo from Delphi 7 after checking "Active" I get "Create service failed"
It doesn't matter if I leave the address 00000378 or make it 0000C000, 0000C010, 0000B000, 0000B010.

What do I need to do get get the LPT ports running properly?

Regards, Henny

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Create service failed
« Reply #1 on: August 19, 2014, 08:54:40 am »
Hello

Please run app "As Administrator" and try to turn off UAC.
If app creates LOG file please upload it here

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

Henny Barten

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Create service failed
« Reply #2 on: August 21, 2014, 04:30:59 pm »
Hi Roman,

I turned off UAC and now that message has gone.
My LPT is connected to a small test board which gives me the ability to read bitd by means of LEDs but can also force the pins high/low.
But I tried addresses C000, B000 but nothing seems to work.
Any idea why not?

Regards, Henny

Henny Barten

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Create service failed
« Reply #3 on: August 22, 2014, 01:58:15 pm »
Hi Roman,

Problem solved.
I didn't know how to test my LPTs besides your application.
Today I was happy to find: http://www.xlentelectronics.nl/LPTTest/LPTTestUtilx64r.htm
With this little tool and my own LPT test pcb I found out that I should use addresses C010 (LPT1) and B010(LPT2).

And this runs fine also using you LPT software (in Delphi7).

Regards, Henny

RichardKeri

  • Newbie
  • *
  • Posts: 2
    • View Profile
Create service failed
« Reply #4 on: May 23, 2016, 12:49:36 pm »
Hi,

I wish to create my own nxServer service.

I only want to use Winsock. I have a test version working which seems
fine but it has no code whatsoever other than to set an alias and
activate the components.

Is this all I need to do and are there any pitfalls that I should be
aware of?

Ken