LPT ports

2007-12-17 Thread Ross Levis
Does anyone know of a way to find all LPT ports installed on a PC and the I/O address of the ports. Up to now I've been using a 3rd party unit I found on the internet which uses the registry to obtain this information, and this has worked well for years, but a user has installed a USB based LPT

Re: Good Delphi books

2007-12-17 Thread Francois Piette
I'm getting back into programming and was wondering if there are some good tutorial/exercise books for Delphi and which ones the group would recommend. Something that gives you examples to try out. Delphi is able to cover such a braod range of application that if you tell us which kind of

Re: IIS v5 Integrated Windows Authentication

2007-12-17 Thread kk aw
Arno, I tried the following: with TNtlmAuthSession.create do try NtlmMessage:= Request.Authorization; ProcessNtlmMsg(Request.Authorization); FUserName:= GetUserFromContext; finally Free; end; Unfortunately FUserName is still

Avoiding form loops?

2007-12-17 Thread [EMAIL PROTECTED]
I have taken over some of my colleagues applications, as he has left. Unfortunately, he and I obviously have not had the same ideas about writing code. I have found lots of procedures in sub-units that access components, procedures and variables on/in the main form/unit directly. So far all

Re: Good Delphi books

2007-12-17 Thread dave
John Meyer wrote: Hi, I'm getting back into programming and was wondering if there are some good tutorial/exercise books for Delphi and which ones the group would recommend. Something that gives you examples to try out. Hi John, Sorry about the previous post, thats what I get for using an

Re: LPT ports

2007-12-17 Thread David Duffy (AVD)
Ross Levis wrote: Does anyone know of a way to find all LPT ports installed on a PC and the I/O address of the ports. Up to now I've been using a 3rd party unit I found on the internet which uses the registry to obtain this information, and this has worked well for years, but a user has

Re: Good Delphi books

2007-12-17 Thread John Meyer
Francois Piette wrote: I'm getting back into programming and was wondering if there are some good tutorial/exercise books for Delphi and which ones the group would recommend. Something that gives you examples to try out. Delphi is able to cover such a braod range of application that if you

RE: Avoiding form loops?

2007-12-17 Thread zayin
Hi, Some people code for code development speed or ability for others to read or maintenance or ad infinitum. With that, for me it depends. For example, I have and use all the time: procedure AddItemsToTCheckListEdit(aCombo:TCheckListEdit; items:array of string); var i:integer; begin for i:=