Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

total begginer needs help 1

Status
Not open for further replies.

gazlappy

Technical User
Apr 14, 2010
2
GB
hi, i have recently taken over a website for a local pool league and with it i upload the players ratings, the software used for the ratings was designed on delphi 5 back in 2000, i have got the project files from the guy and his concent to modify it as i please. The only problem is i dont quite know where to start i have delphi 2009 and can open the project but i do get a few errors. my question is is there anyone here that fancys a crack at helping me to get this software updated to what i need.

any info or help is much apprecated

gazlappy
 
the errors are no longer the problem i have decided to go to Delphi 6 and the errors have now gone.

i think i had better do this one step at a time,


OK what i need to to, as the program was created 10yrs ago it is becoming a problem with windows becoming out dated how do go get it to run compatible with windows 7 ???? (the built in windows compatibility does not work)

p.s thanks for replying also please bear with me as i said complete beginner
 
If you can compile with D6 it should run under Win7 just fine.
 
As I understand from several posts by Daddy concerning Win7, it depends on where you run the app from, if compiled for 32-bit.

Roo
Delphi Rules!
 
I think the main problems with 7 (and Vista) concerns registry access.
If your program attemts to modify anything in HK_LOCAL_MACHINE (HKLM) then you will get an error (at least with a normal user account).
There are ways round this but probobly better to change it to use HK_CURENT_USER (HKCU). I would say this is better practise anyway.

Steve: N.M.N.F.
If something is popular, it must be wrong: Mark Twain
 
I was hoping Daddy would jump in as I don't use vista or win7. I think it needs to NOT be under directory \Program Files\ but not sure...

Roo
Delphi Rules!
 
I installed Delphi 7 Pro on a Windows 7 Pro machine in a folder off the root (C:\Delphi7) and have not experienced any problems.

Mel
 
I think everything important already has been said. In fact these rules can be applied to a much broader scope.

- don't think of installing under the default program files folder if your program wants to write in it's installation folder.
- take folder and registry virtualisation into account (this was already the case with windows Vista)
there are many resources on the net, I include one of them:

This mess (that came with vista) is a direct consequence from the fact that many developers didn't follow microsoft design guidelines in the 2000/XP era.
Being a developer you are responsible to make applications that behave correctly on top of the OS they are running.

Here are the design guidelines for W7, It is a vast resource how to make W7 consistent apps:


this is the part concerning UAC:


Cheers,
Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top