• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
November 23, 2024, 04:59:12 am

News:

SMF - Just Installed!


Create service failed

Started by Henny Barten, August 18, 2014, 05:07:07 pm

Previous topic - Next topic

Henny Barten

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

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

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

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